Say I have a custom component as my-panel
And in the backing JS (my-panel.js)
this.get('targetObject')
Also I reference/use this component from another custom component say "my-sections.hbs" as
{{my-panel}}
My question is when I do
this.get('targetObject') //Called inside my-panel.js
How/Where does it lookup the property "targetObject" in ? What does the chain look like?
Aucun commentaire:
Enregistrer un commentaire