trigger
Executes all handlers attached to the given event.
Parameters
eventName String
The name of the event to trigger.
eventData Object
Optional event data which will be passed as an argument to the event handlers.
Executes all handlers attached to the given event.
String
The name of the event to trigger.
Object
Optional event data which will be passed as an argument to the event handlers.