To destroy handlers in the event
Returns void
To notify the handlers in the specified event.
Returns void | Object
To remove handlers from a event attached using on() function.
Returns void
To attach handler for given property in current context.
Parameter | Type | Description |
---|---|---|
property | string |
specifies the name of the event. |
handler | Function |
Specifies the handler function to be called while event notified. |
context (optional) | Object |
Specifies the context binded to the handler. |
id (optional) | string |
specifies the random generated id. |
Returns void