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

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -