Useful events to attach custom code to?
What are the (best) events that are already firing on the forms for us to bind custom functions to?
In particular, I am interested in the save event, and also the toast notifications that began appearing with v8.0. However, a more comprehensive list could help us all!
I am using a mutation observer to determine when form validation errors occur. Would it not be better to create an event handler that fires the original event handler plus my code? Also, the new toast notifications interfere with other customizations. If I could allow them to continue but capture the event and handle it in a more compatible manner, that would be even better.
Perhaps there are more / better examples than what I have stated here, as well!