eventRegistry.add
Add an event to the registry.
eventRegistry.add( event [, eventType ] )
Parameters
- event
{EventDefinition}
:The event definition to register.
- eventType
{String}
:The event type with which to register the event.
Returns
{function}
:
The callback to remove the event from the registry.