Closed kellyselden closed 7 years ago
Thanks @kellyselden, this looks great.
What do you think of naming it send
instead of emit
?
{{name-form actionReceiver=nameForm}}
<button {{action (send nameForm "reset")}}>Reset</button>
I like that name. Updated.
Thanks @kellyselden 🍻
This allows you to call actions on the reference from the template.
emit
is a jQuery term I believe, we could name it something likeinvoke
or something else, doesn't matter.