JMap.Event.Extension.on.beforeUnregistration
This event is triggered just before an extension will be unregistered.
Your listener id (must be unique)
Your listener function
JMap.Event.Extension.on.registration
This event is triggered when an extension is registered.
Your listener id (must be unique)
Your listener function
JMap.Event.Extension.on.unregistration
This event is triggered when an extension is unregistered.
Your listener id (must be unique)
Your listener function
JMap.Event.Extension.on
Here you have all available high level events on which you can attach a listener.