I am having a component in which the params are passed while rendering it. It will have dynamic params, so i cant exactly get it by its name. I searched many posts but didn't find any suitable.
Application.hbs
small-button.js
Ember.component.extend({
tagName: "button",
didInsertElement: function(){
//need to get the dynamic params
}
});
Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire