- Preparing search index...
- The search index is not available
glpower
Properties
Private
listeners
listeners: Listener[]
Methods
emit
- emit(event: string, args?: any[]): void
-
Parameters
-
event: string
-
Optional
args: any[]
Returns void
hasEvent
- hasEvent(event: string): boolean
-
Returns boolean
off
- off(event: string, cb?: Function): void
-
Parameters
-
event: string
-
Optional
cb: Function
Returns void
on
- on(event: string, cb: Function): void
-
Parameters
-
event: string
-
cb: Function
Returns void
once
- once(event: string, cb: Function): void
-
Parameters
-
event: string
-
cb: Function
Returns void