Search
Preparing search index...
The search index is not available
@akashic/akashic-engine
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/main.d"
g
Trigger
Class Trigger<T>
Type parameters
T
Hierarchy
Trigger
ConditionalChainTrigger
Implements
Destroyable
Index
Constructors
constructor
Properties
_handlers
chain
Methods
_activate
Chain
_deactivate
Chain
_on
Chain
Fire
_remove
_reset
destroy
destroyed
fire
handle
handle
Insert
has
Handler
is
Handled
remove
remove
All
remove
All
ByHandler
remove
ByName
Constructors
constructor
new
Trigger
(
chain
?:
Trigger
<
T
>
)
:
Trigger
Parameters
Optional
chain:
Trigger
<
T
>
Returns
Trigger
Properties
Private
_handlers
_handlers
:
TriggerHandler
<
function
>
[]
chain
chain
:
Trigger
<
T
>
Methods
Private
_activate
Chain
_activate
Chain
(
)
:
void
Returns
void
Private
_deactivate
Chain
_deactivate
Chain
(
)
:
void
Returns
void
Private
_on
Chain
Fire
_on
Chain
Fire
(
e
:
T
)
:
void
Parameters
e:
T
Returns
void
Private
_remove
_remove
(
handler
:
TriggerHandler
<
function
>
)
:
void
Parameters
handler:
TriggerHandler
<
function
>
Returns
void
Private
_reset
_reset
(
)
:
void
Returns
void
destroy
destroy
(
)
:
void
Returns
void
destroyed
destroyed
(
)
:
boolean
Returns
boolean
fire
fire
(
param
?:
T
)
:
void
Parameters
Optional
param:
T
Returns
void
handle
handle
(
owner
:
any
, handler
?:
function
, name
?:
string
)
:
void
Parameters
owner:
any
Optional
handler:
function
(
e
:
T
)
:
boolean
|
void
Parameters
e:
T
Returns
boolean
|
void
Optional
name:
string
Returns
void
handle
Insert
handle
Insert
(
index
:
number
, owner
:
any
, handler
?:
function
, name
?:
string
)
:
void
Parameters
index:
number
owner:
any
Optional
handler:
function
(
e
:
T
)
:
boolean
|
void
Parameters
e:
T
Returns
boolean
|
void
Optional
name:
string
Returns
void
has
Handler
has
Handler
(
)
:
boolean
Returns
boolean
is
Handled
is
Handled
(
owner
:
any
, handler
?:
function
)
:
boolean
Parameters
owner:
any
Optional
handler:
function
(
e
:
T
)
:
boolean
|
void
Parameters
e:
T
Returns
boolean
|
void
Returns
boolean
remove
remove
(
owner
:
any
, handler
?:
function
)
:
void
Parameters
owner:
any
Optional
handler:
function
(
e
:
T
)
:
boolean
|
void
Parameters
e:
T
Returns
boolean
|
void
Returns
void
remove
All
remove
All
(
owner
:
any
)
:
void
Parameters
owner:
any
Returns
void
remove
All
ByHandler
remove
All
ByHandler
(
handler
:
function
)
:
void
Parameters
handler:
function
(
e
:
T
)
:
boolean
|
void
Parameters
e:
T
Returns
boolean
|
void
Returns
void
remove
ByName
remove
ByName
(
name
:
string
)
:
void
Parameters
name:
string
Returns
void
Globals
Trigger
constructor
_handlers
chain
_activate
Chain
_deactivate
Chain
_on
Chain
Fire
_remove
_reset
destroy
destroyed
fire
handle
handle
Insert
has
Handler
is
Handled
remove
remove
All
remove
All
ByHandler
remove
ByName
Generated using
TypeDoc