Base class for all event sources.
mxEventSource | Base class for all event sources. |
Variables | |
eventListeners | Holds the registered listeners. |
Functions | |
addListener | Adds a listener for the given event name. |
fireEvent | Fires the event for the specified name. |
Holds the registered listeners.
var $eventListeners
Adds a listener for the given event name.
function addListener( $name, $listener )
Fires the event for the specified name.
function fireEvent( $event )