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
ConditionalChainTrigger
Class ConditionalChainTrigger<T>
Type parameters
T
Hierarchy
Trigger
<
T
>
ConditionalChainTrigger
Implements
Destroyable
Index
Constructors
constructor
Properties
_handlers
chain
filter
filter
Owner
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
Conditional
Chain
Trigger
(
chain
:
Trigger
<
T
>
, filterOwner
:
any
, filter
:
function
)
:
ConditionalChainTrigger
Parameters
chain:
Trigger
<
T
>
filterOwner:
any
filter:
function
(
e
:
T
)
:
boolean
Parameters
e:
T
Returns
boolean
Returns
ConditionalChainTrigger
Properties
Private
_handlers
_handlers
:
TriggerHandler
<
function
>
[]
chain
chain
:
Trigger
<
T
>
filter
filter
:
function
Type declaration
(
e
:
T
)
:
boolean
Parameters
e:
T
Returns
boolean
filter
Owner
filter
Owner
:
any
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
Conditional
Chain
Trigger
constructor
_handlers
chain
filter
filter
Owner
_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