Properties
listeners
listeners: {} = {}
Methods
emit
- emit(name, ...args): void
Parameters
name: any
Rest
...args: any[]
Returns void
off
- off(name, listener): void
Returns void
on
- on(name, listener): (() => void)
Returns (() => void)
once
- once(name, listener): (() => void)
Returns (() => void)
removeListeners
- removeListeners(): void
Returns void