ember-twiddle
ember-twiddle copied to clipboard
[feature request] Make the created Ember app easily available in the console.
Make the created Ember app easily available in the console so that something like this can be done:
twiddle.__container__.lookup('component:my-component').callMethod();
Perhaps include ember-export-application-global by default once addons are working well?
Concrete steps to get this working in Chrome using ember-twiddle 0.10.1+:
- Add ember-export-application-global addon to twiddle.json
- Open developer tools
- Select the dummy-content-iframe in the frame selector dropdown
- Use the "twiddle" global
While (1) could theoretically be made easier by making the ember-export-application-global addon included by default, (2) and (3) cannot be automated and (4) is not easily discoverable.