ember-twiddle icon indicating copy to clipboard operation
ember-twiddle copied to clipboard

[feature request] Make the created Ember app easily available in the console.

Open givanse opened this issue 9 years ago • 2 comments

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();

givanse avatar Apr 26 '16 03:04 givanse

Perhaps include ember-export-application-global by default once addons are working well?

Gaurav0 avatar May 04 '16 20:05 Gaurav0

Concrete steps to get this working in Chrome using ember-twiddle 0.10.1+:

  1. Add ember-export-application-global addon to twiddle.json
  2. Open developer tools
  3. Select the dummy-content-iframe in the frame selector dropdown
  4. 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.

Gaurav0 avatar Jul 29 '16 06:07 Gaurav0