lundi 22 juin 2015

Assign two actions to one element in Ember.js

<span {{action 'toggleChildren' 'ServerObjects'}} {{action 'contextMenu' on='contextMenu'}}>{{server.name}}</span>

Unfortunatelly when I add this second action, the first one stops working. I can't find a way to assign two actions to one element.

I found this topic: Ember : handling multiple events with {{action}} tag? . Does it still apply?




Aucun commentaire:

Enregistrer un commentaire