Methods
Private __ev_filter__
Parameters
Optional type: string | null
Optional handler: Function
Private __ev_listener_remover__
__ev_listener_remover__( listener: EVListener ) : void
emit
emit<K>( type: K , payload: EventMap[K] ) : void
Type parameters
Parameters
type: K
payload: EventMap[K]
Returns void
immediate
immediate<K>( type: K , handler: function , option?: undefined | object ) : EVListener
Type parameters
Parameters
type: K
handler: function
Optional option: undefined | object
off
off<K>( type: K ) : void
off<K>( type: K , handler: function ) : void
off<K>( type: K , option: object ) : void
off<K>( handler: function ) : void
off<K>( option: object ) : void
Type parameters
Parameters
Returns void
Type parameters
Parameters
type: K
handler: function
Returns void
Type parameters
Parameters
type: K
option: object
Optional handler?: undefined | function
Returns void
Type parameters
Parameters
Returns void
Type parameters
Parameters
option: object
Optional handler?: undefined | function
Optional type?: K
Returns void
on
on<K>( type: K , handler: function ) : EVListener
on<K>( type: K , handler: function , option?: undefined | object ) : EVListener
on<K>( type: K , handler: function , option?: undefined | object ) : EVListener
on<K>( type: K , handler: function , option?: undefined | object , once?: undefined | false | true ) : EVListener
on<K>( type: K , option?: undefined | object ) : EVListener
on<K>( option: object ) : EVListener
Type parameters
Parameters
type: K
handler: function
Type parameters
Parameters
type: K
handler: function
Optional option: undefined | object
Type parameters
Parameters
type: K
handler: function
Optional option: undefined | object
Type parameters
Parameters
type: K
handler: function
Optional option: undefined | object
Optional once: undefined | false | true
Type parameters
Parameters
type: K
Optional option: undefined | object
Type parameters
Parameters
option: object
handler: function
Optional once?: undefined | false | true
type: K
once
Type parameters
Parameters
type: K
handler: function
Type parameters
Parameters
type: K
handler: function
option: object
Type parameters
Parameters
Type parameters
Parameters
option: object
handler: function
type: K
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
The context class for event operations.
You can use as it is or inherit any classes in this class.
When using it with TypeScript, it is possible to strictly set type information by specifying an interface in Generics.