vendredi 7 septembre 2018

(Ember) Get/lookup component in controller

In my route.hbs I have several components that have computed properties. In my controller I want to see the state of these computed properties. I can't two-way bind the values since they are computed properties. Is it possible to do get the instance of a component inside of a controller and inspect its values?

I have tried Ember.$(#) but this just returns the dom object.




Aucun commentaire:

Enregistrer un commentaire