ember.js - Send multiple parameters from ember component -
i want send 2 parameters action in ember component. documentation suggests how send 1 parameter eg
{{#each todos |todo|}} <p>{{todo.title}} {{confirm-button title="delete" action="deletetodo" param=todo}}</p> {{/each}}
how send multiple params? thanks
same way sent first one:
{{confirm-button title="delete" action="deletetodo" param=todo param2=myotherparam}}
Comments
Post a Comment