lundi 26 octobre 2015

How to declare "escape-press" into HTML like Ember.js templates?

How to write "escape-press" action in a more HTML format than {{input escape-press='alertUser'}}.

I have some inputs defined like that <input type="text" name="item-name" value={{item.name}} onblur={{action "confirmName" value="target.value"}} /> and I would like to keep this syntax.




Aucun commentaire:

Enregistrer un commentaire