Fusion. Lib. EventMgr

an internal class for managing generic events.  Classes that wish to publish and trigger events that other objects can listen for need to inherit from Fusion.Lib.EventMgr.

To publish an event, call registerEventID with some unique numeric or string value.  Other objects can then call registerForEvent with the eventID and a function to call when the event is triggered.

To trigger an event, call triggerEvent with the eventID and any additional arguments that should be passed to listeners.

Summary
an internal class for managing generic events.

Functions

destroy

destroy: function()
destroy: function()