Preparing search index...
The search index is not available
@niuee/board
@niuee/board
IdleState
Class IdleState
Hierarchy (
View Summary
)
TemplateState
<
TouchEventMapping
,
TouchContext
,
TouchStates
>
IdleState
Index
Constructors
constructor
Properties
_event
Guards
_guards
Accessors
event
Guards
event
Reactions
guards
Methods
handles
touchend
touchstart
upon
Enter
upon
Leave
Constructors
constructor
new
IdleState
()
:
IdleState
Returns
IdleState
Properties
Protected
_event
Guards
_eventGuards
:
Partial
<
EventGuards
<
TouchEventMapping
,
TouchStates
,
TouchContext
,
Guard
<
TouchContext
,
"touchPointsCount"
>
,
>
,
>
= ...
Protected
_guards
_guards
:
Guard
<
TouchContext
,
"touchPointsCount"
>
= ...
Accessors
event
Guards
get
eventGuards
()
:
Partial
<
EventGuards
<
EventPayloadMapping
,
States
,
Context
,
Guard
<
Context
,
string
>
,
>
,
>
Returns
Partial
<
EventGuards
<
EventPayloadMapping
,
States
,
Context
,
Guard
<
Context
,
string
>
,
>
,
>
event
Reactions
get
eventReactions
()
:
Partial
<
EventAction
<
TouchEventMapping
,
TouchContext
,
TouchStates
>
,
>
Returns
Partial
<
EventAction
<
TouchEventMapping
,
TouchContext
,
TouchStates
>
>
guards
get
guards
()
:
Guard
<
Context
>
Returns
Guard
<
Context
>
Methods
handles
handles
<
K
extends
keyof
TouchEventMapping
>
(
stateMachine
:
StateMachine
<
TouchEventMapping
,
TouchContext
,
TouchStates
>
,
event
:
K
,
payload
:
TouchEventMapping
[
K
]
,
context
:
TouchContext
,
)
:
TouchStates
Type Parameters
K
extends
keyof
TouchEventMapping
Parameters
stateMachine
:
StateMachine
<
TouchEventMapping
,
TouchContext
,
TouchStates
>
event
:
K
payload
:
TouchEventMapping
[
K
]
context
:
TouchContext
Returns
TouchStates
touchend
touchend
(
stateMachine
:
TouchStateMachine
,
context
:
TouchContext
,
payload
:
TouchEventPayload
,
)
:
"IDLE"
|
"PENDING"
Parameters
stateMachine
:
TouchStateMachine
context
:
TouchContext
payload
:
TouchEventPayload
Returns
"IDLE"
|
"PENDING"
touchstart
touchstart
(
stateMachine
:
TouchStateMachine
,
context
:
TouchContext
,
payload
:
TouchEventPayload
,
)
:
TouchStates
Parameters
stateMachine
:
TouchStateMachine
context
:
TouchContext
payload
:
TouchEventPayload
Returns
TouchStates
upon
Enter
uponEnter
(
stateMachine
:
StateMachine
<
TouchEventMapping
,
TouchContext
,
TouchStates
>
,
context
:
TouchContext
,
)
:
void
Parameters
stateMachine
:
StateMachine
<
TouchEventMapping
,
TouchContext
,
TouchStates
>
context
:
TouchContext
Returns
void
upon
Leave
uponLeave
(
stateMachine
:
StateMachine
<
TouchEventMapping
,
TouchContext
,
TouchStates
>
,
context
:
TouchContext
,
)
:
void
Parameters
stateMachine
:
StateMachine
<
TouchEventMapping
,
TouchContext
,
TouchStates
>
context
:
TouchContext
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_event
Guards
_guards
Accessors
event
Guards
event
Reactions
guards
Methods
handles
touchend
touchstart
upon
Enter
upon
Leave
@niuee/board
Loading...