Members
fireEvent
Fire an event: call all associated listeners with the input event object.
- Source
Methods
add(type, callback)
Add an event listener.
Parameters:
Name | Type | Description |
---|---|---|
type | string | The event type. |
callback | object | The method associated with the provided event type, will be called with the fired event. |
- Source
remove(type, callback)
Remove an event listener.
Parameters:
Name | Type | Description |
---|---|---|
type | string | The event type. |
callback | object | The method associated with the provided event type. |
- Source