Is there a way to find out whether anything in the current routes hierarchy handles a specific action? In Ember.SimpleAuth I’m forwarding events triggered by the current session as actions to the router (e.g. when the session was authenticated or invalidated etc.). I’d like to check whether anything handles a specific action so that I only forward those events and people could opt-in to implementing specific actions if they are interested in them (that way I could make implementing the mixing provided by Ember.SimpleAuth optional).
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to detect if an event handler exists
|
6 | 3443 | April 23, 2014 | |
Wouldn't logging action processing be helpful? | 2 | 1842 | November 3, 2014 | |
Sending action from current controller to current route
|
5 | 12646 | January 31, 2017 | |
Best practices for handling actions
|
10 | 4108 | April 4, 2014 | |
How to view all ember actions? | 2 | 426 | July 26, 2021 |