Is it possible to do this?. Examples in Ember docs passes actions as part of the handlebars template.
e.g: {{my-component action='someAction'}}
Here's what I'm doing:
var containerView = Ember.ContainerView.create();
containerView.pushObject(Ember.Component.create({
container: this.container,
layoutName: 'my-component'
}));
Aucun commentaire:
Enregistrer un commentaire