How can i get the currently clicked item in a ember action?
<button {{action 'open'}}></button> actions: { open: function() { // How get the button? } }
I was trying to pass event and catch with $(e.eventTarget) but e is undefined.
e
Aucun commentaire:
Enregistrer un commentaire