event.off
off(eventName: string | symbol, listener: Function) → {EventEmitter}
remove the given listener for a given event.
me.event.off("event-name", myFunction);
Name | Type | Description |
---|---|---|
eventName | string | symbol |
The event name. |
listener | Function |
The listener function. |
Type | Description |
---|---|
EventEmitter |
|