Preparing search index...
The search index is not available
@niuee/board
@niuee/board
TemplateState
Class TemplateState<EventPayloadMapping, Context, States>
Abstract
Type Parameters
EventPayloadMapping
Context
States
extends
string
=
"IDLE"
Hierarchy (
View Summary
)
TemplateState
AcceptingUserInputState
TransitionState
LockedOnObjectState
ZoomAcceptingUserInputState
ZoomTransitionState
ZoomLockedOnObjectState
BoardIdleState
ReadyToSelectState
SelectingState
ReadyToPanViaSpaceBarState
InitialPanState
ReadyToPanViaScrollWheelState
PanState
PanViaScrollWheelState
IdleState
PendingState
InProgressState
Implements
State
<
EventPayloadMapping
,
Context
,
States
>
Index
Constructors
constructor
Properties
_event
Guards
_guards
event
Reactions
Accessors
event
Guards
guards
Methods
handles
upon
Enter
upon
Leave
Constructors
constructor
new
TemplateState
<
EventPayloadMapping
,
Context
,
States
extends
string
=
"IDLE"
>
()
:
TemplateState
<
EventPayloadMapping
,
Context
,
States
,
>
Type Parameters
EventPayloadMapping
Context
States
extends
string
=
"IDLE"
Returns
TemplateState
<
EventPayloadMapping
,
Context
,
States
>
Properties
Protected
_event
Guards
_eventGuards
:
Partial
<
EventGuards
<
EventPayloadMapping
,
States
,
Context
,
Guard
<
Context
,
string
>
,
>
,
>
= {}
Protected
_guards
_guards
:
Guard
<
Context
>
= {}
Abstract
event
Reactions
eventReactions
:
Partial
<
EventAction
<
EventPayloadMapping
,
Context
,
States
>
>
Accessors
event
Guards
get
eventGuards
()
:
Partial
<
EventGuards
<
EventPayloadMapping
,
States
,
Context
,
Guard
<
Context
,
string
>
,
>
,
>
Returns
Partial
<
EventGuards
<
EventPayloadMapping
,
States
,
Context
,
Guard
<
Context
,
string
>
,
>
,
>
guards
get
guards
()
:
Guard
<
Context
>
Returns
Guard
<
Context
>
Methods
handles
handles
<
K
extends
string
|
number
|
symbol
>
(
stateMachine
:
StateMachine
<
EventPayloadMapping
,
Context
,
States
>
,
event
:
K
,
payload
:
EventPayloadMapping
[
K
]
,
context
:
Context
,
)
:
States
Type Parameters
K
extends
string
|
number
|
symbol
Parameters
stateMachine
:
StateMachine
<
EventPayloadMapping
,
Context
,
States
>
event
:
K
payload
:
EventPayloadMapping
[
K
]
context
:
Context
Returns
States
upon
Enter
uponEnter
(
stateMachine
:
StateMachine
<
EventPayloadMapping
,
Context
,
States
>
,
context
:
Context
,
)
:
void
Parameters
stateMachine
:
StateMachine
<
EventPayloadMapping
,
Context
,
States
>
context
:
Context
Returns
void
upon
Leave
uponLeave
(
stateMachine
:
StateMachine
<
EventPayloadMapping
,
Context
,
States
>
,
context
:
Context
,
)
:
void
Parameters
stateMachine
:
StateMachine
<
EventPayloadMapping
,
Context
,
States
>
context
:
Context
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_event
Guards
_guards
event
Reactions
Accessors
event
Guards
guards
Methods
handles
upon
Enter
upon
Leave
@niuee/board
Loading...