event

event

Type Definitions

CallbackType<T = any>

Source:
Type:
  • (...args: any[]) => T

EventInterface

Source:
Properties:
Name Type Description
on (name: string | EventParamterInterface, callback?: CallbackType | CallbackType[]) => this
once (name: string | EventParamterInterface, callback?: CallbackType | CallbackType[]) => this
off (name?: string, callback?: CallbackType) => this
Type:
  • TSInterface

EventParamterInterface

Source:
Properties:
Name Type Description
[name: string] CallbackType | CallbackType[]
Type:
  • TSInterface