@vothaison wrote:
Hi Everyone,
I have read this topic: Getting the name of a function provided to an `action` helper But when I apply it to my code (with Ember 3.4.5 LTS)
{{async-button action=(action “exit”) classNames=“button–cancel” }}
this.attrs.action.name
is an empty string. Whereas I would like to get the string name “exit”.Right now I have to pass the “exit” in another property
{{async-button action=(action “exit”) buttonName=“exit” classNames=“button–cancel” }}
Please advise!
Thanks.
Posts: 1
Participants: 1