mardi 26 septembre 2017

How would I write a sendAction helper?

In ember, we have the action helper;

  

But, when I want to send actions to a parent component, I still have to explicitly write an action on the child that calls sendAction. Even if I'm ONLY bubbling an action. I'd like the avoid this with a send-action helper;

  

Does anyone know how I'd implement this helper?




Aucun commentaire:

Enregistrer un commentaire