Search
Preparing search index...
The search index is not available
lanurite
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"classes/Event"
Event
Class Event
Hierarchy
Event
Model
Collection
Implements
IEvent
Index
Properties
_events
Methods
_create
Event
_off
All
Listener
off
on
trigger
_is
Undefined
Properties
Protected
_events
_events
:
object
Type declaration
[
event:
string
]:
IHandler
[]
Methods
Private
_create
Event
_create
Event
(
event
:
string
, handler
:
IHandler
)
:
void
Parameters
event:
string
handler:
IHandler
Returns
void
Protected
_off
All
Listener
_off
All
Listener
(
)
:
void
Returns
void
off
off
(
eventName
:
string
, handler
?:
IHandler
)
:
void
Remove handler from Event
Parameters
eventName:
string
Optional
handler:
IHandler
Returns
void
on
on
(
eventsName
:
string
|
string
[]
, handler
:
IHandler
)
:
void
Add handler on Event
Parameters
eventsName:
string
|
string
[]
handler:
IHandler
Returns
void
trigger
trigger
(
eventName
:
string
, eventParams
?:
__type
|
undefined
|
null
)
:
void
Trigger Event with Param
Parameters
eventName:
string
Default value
eventParams:
__type
|
undefined
|
null
= {}
Returns
void
Static
Protected
_is
Undefined
_is
Undefined
(
obj
:
any
)
:
boolean
Parameters
obj:
any
Returns
boolean
Globals
"classes/
Collection"
"classes/
Event"
"classes/
Model"
"interfaces/ICollection"
"interfaces/IEvent"
"interfaces/IHandler"
"interfaces/IModel"
"interfaces/IPredicate"
"lanurite"
Event
_events
_create
Event
_off
All
Listener
off
on
trigger
_is
Undefined
Generated using
TypeDoc
Remove handler from Event