In my Ember app component my-component.hbs, I have
Now in my-component.js, I have it defined as action below;
actions: {
gridInstantiated: function (myGrid) {
}
}
How/Why does the above syntax for action work ? Specifically
- "gridInstantiated" is not defined as normal property in my-component.js
- In the hbs, it is defined without the "action" keyword
Just wanted to know how it works given the above 2 points ?
Aucun commentaire:
Enregistrer un commentaire