I can bind an action to a table's row using ; However, I converted each row into a component becase I need to encausulate some states inside each row.
How can I handle the default click event for the entire component in Ember way?
I am sure I can do the event binding in didInsertElement hook, but I am not sure this is the correct way to do so, or anti-Ember.
Aucun commentaire:
Enregistrer un commentaire