Trigger
methodsExecutes all handlers attached to the given event.
Parameters:eventNameString
eventDataObject
The name of the event to trigger.
Optional event data which will be passed as an argument to the event handlers.
Executes all handlers attached to the given event.
The name of the event to trigger.
Optional event data which will be passed as an argument to the event handlers.