Type of event the callback is parameterized on.
The event of interest.
The callback depending on the type of ev.
Registers a callback for the given event, s.t. it fires everytime until
manually unregistered with off(ev, cb)
.
The registered callback should always be manually unregistered.
Type of event the callback is parameterized on.
The event of interest.
The callback depending on the type of ev.
Registers a callback for the given event, s.t. it fires only ONCE. Once registered, a callback cannot be unregistered again.
Type of event the callback is parameterized on.
The event of interest.
The callback depending on the type of ev.
Removes all registered callbacks for all events.
Optional
useCache: booleanGenerated using TypeDoc
Unregisters a callback for the given event.