Class: off

off

new off(event, id)

Cancels all listeners for an event based on the passed event name and id.
Parameters:
Name Type Description
event String The event name to cancel listeners for.
id * The ID to cancel all listeners for.
Source:

off

new off(event, id, listener)

Cancels an event listener based on an event name, id and listener function.
Parameters:
Name Type Description
event String The event to cancel listener for.
id String The ID of the event to cancel listening for.
listener function The event listener function used in the on() or once() call to cancel.
Source:

off

new off(event, listener) → {*}

Cancels the event listener for the passed event and listener function.
Parameters:
Name Type Description
event String The event to cancel listener for.
listener function The event listener function used in the on() or once() call to cancel.
Source:
Returns:
Type
*

off

new off(event) → {*}

Cancels all event listeners for the passed event.
Parameters:
Name Type Description
event String The name of the event.
Source:
Returns:
Type
*