Search
Preparing search index...
The search index is not available
EF React Native Navigation
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"lib/stack/EventEmitter"
StackEventEmitter
Class StackEventEmitter
Hierarchy
StackEventEmitter
Implements
IStackEventEmitter
Index
Constructors
constructor
Properties
catch
default
Catch
default
Max
Listeners
Accessors
max
Listeners
Methods
add
Listener
emit
remove
Listener
Constructors
constructor
new
Stack
Event
Emitter
(
options
?:
IStackEventEmitterOptions
)
:
StackEventEmitter
Parameters
Default value
options:
IStackEventEmitterOptions
= {}
Returns
StackEventEmitter
Properties
catch
catch
:
StackEventEmitterCatch
Static
default
Catch
default
Catch
:
StackEventEmitterCatch
= defaultCatch
Static
default
Max
Listeners
default
Max
Listeners
:
number
= 10
Accessors
max
Listeners
get
maxListeners
(
)
:
number
set
maxListeners
(
value
:
number
)
:
void
Returns
number
Parameters
value:
number
Returns
void
Methods
add
Listener
add
Listener
(
event
:
Event.Change
, callback
:
OnChange
)
:
void
add
Listener
(
event
:
Event.Push
, callback
:
OnPush
)
:
void
add
Listener
(
event
:
Event.Pop
, callback
:
OnPop
)
:
void
add
Listener
(
event
:
Event.Reset
, callback
:
OnReset
)
:
void
add
Listener
(
event
:
Event.Replace
, callback
:
OnReplace
)
:
void
Parameters
event:
Event.Change
callback:
OnChange
Returns
void
Parameters
event:
Event.Push
callback:
OnPush
Returns
void
Parameters
event:
Event.Pop
callback:
OnPop
Returns
void
Parameters
event:
Event.Reset
callback:
OnReset
Returns
void
Parameters
event:
Event.Replace
callback:
OnReplace
Returns
void
emit
emit
(
event
:
Event.Pop
, count
:
number
, next
:
Stack
, previous
:
Stack
)
:
void
emit
(
event
:
Event.Change
|
Event.Push
|
Event.Reset
, data
:
IDataImmutable
, next
:
Stack
, previous
:
Stack
)
:
void
emit
(
event
:
Event.Replace
, replacement
:
IDataImmutable
, last
:
IDataImmutable
, next
:
Stack
, previous
:
Stack
)
:
void
Parameters
event:
Event.Pop
count:
number
next:
Stack
previous:
Stack
Returns
void
Parameters
event:
Event.Change
|
Event.Push
|
Event.Reset
data:
IDataImmutable
next:
Stack
previous:
Stack
Returns
void
Parameters
event:
Event.Replace
replacement:
IDataImmutable
last:
IDataImmutable
next:
Stack
previous:
Stack
Returns
void
remove
Listener
remove
Listener
(
event
:
Event.Change
, callback
:
OnChange
)
:
void
remove
Listener
(
event
:
Event.Push
, callback
:
OnPush
)
:
void
remove
Listener
(
event
:
Event.Pop
, callback
:
OnPop
)
:
void
remove
Listener
(
event
:
Event.Reset
, callback
:
OnReset
)
:
void
remove
Listener
(
event
:
Event.Replace
, callback
:
OnReplace
)
:
void
Parameters
event:
Event.Change
callback:
OnChange
Returns
void
Parameters
event:
Event.Push
callback:
OnPush
Returns
void
Parameters
event:
Event.Pop
callback:
OnPop
Returns
void
Parameters
event:
Event.Reset
callback:
OnReset
Returns
void
Parameters
event:
Event.Replace
callback:
OnReplace
Returns
void
Globals
"lib/stack/
Event
Emitter"
Stack
Event
Emitter
constructor
catch
default
Catch
default
Max
Listeners
max
Listeners
add
Listener
emit
remove
Listener
IStack
Event
Emitter
Options
Stack
Event
Emitter
Callbacks
Stack
Event
Emitter
Catch
symbol
Change
symbol
Max
Listeners
symbol
Pop
symbol
Push
symbol
Replace
symbol
Reset
default
Catch
remove