Is it possible to find all Ember components based on their name using a wildcard or regex?
so far I found a way to find a component by its fullName: appInstance.lookup('component:my-component')
but what I want to achieve is to do something like: appInstance.lookup('component:my-*') which will return an array of components whose name begins with 'my-'
Aucun commentaire:
Enregistrer un commentaire