lundi 27 juillet 2015

Send multiple parameters from ember component

I want to send two parameters to an action in an Ember component. The documentation only suggests how to send one parameter eg as

{{#each todos as |todo|}}
    <p>{{todo.title}} {{confirm-button title="Delete" action="deleteTodo" param=todo}}</p>
{{/each}}

How do I send multiple params? Thanks




Aucun commentaire:

Enregistrer un commentaire