vendredi 25 août 2017

Track actions that are being triggered in application

Can someone think of a way in which the following is possible:

If a user triggers the following actions:

  • selectUser(action defined and handled in component)
  • closePrompt(action defined in controller, passed to component)
  • deleteAllUsers(action defined in component above, passed to child component)

Without manually adding code to each action, but rather inspecting some action "pipeline" of sorts when actions are triggered, and record them then. I've been looking at the code of the EventDispatcher, Action "modifier" and ActionManager to try and understand this better.




Aucun commentaire:

Enregistrer un commentaire