-
-
Save markthomas93/0e1157dc176fbaf9e5a78cccfc259500 to your computer and use it in GitHub Desktop.
Snippet to get the component instance on console for Ember
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let component = App.__container__.lookup('-view-registry:main')[componentId]; // componentId i.e. "ember4322" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment