lundi 26 octobre 2015

How to pass multiple values from view to controller trough an action in Ember.js?

I have the following text input

<input type="text" name="item-name" value={{item.name}} onblur={{action "confirmName" value="target.value"}} />

How can I pass not only target.value but also the related item to confirmName?




Aucun commentaire:

Enregistrer un commentaire