Type Aliases
AfterHook
After
Hook
<mDT>: { from
: string; handler
: HookHandler<mDT>; kind
: "after" }Type Parameters
Type declaration
from: string
kind: "after"
AnyActionHook
Any
Action
Hook
<mDT>: { handler
: HookHandler<mDT>; kind
: "any action" }Type Parameters
AnyTransitionHook
Any
Transition
Hook
<mDT>: { handler
: HookHandler<mDT>; kind
: "any transition" }Type Parameters
BasicHookDescription
Basic
Hook
Description
<mDT>: { from
: string; handler
: HookHandler<mDT>; kind
: "hook"; to
: string }Type Parameters
Type declaration
from: string
kind: "hook"
to: string
EntryHook
Entry
Hook
<mDT>: { handler
: HookHandler<mDT>; kind
: "entry"; to
: string }Type Parameters
ExitHook
Exit
Hook
<mDT>: { from
: string; handler
: HookHandler<mDT>; kind
: "exit" }Type Parameters
ForcedTransitionHook
Forced
Transition
Hook
<mDT>: { handler
: HookHandler<mDT>; kind
: "forced transition" }Type Parameters
Type declaration
kind: "forced transition"
GlobalActionHook
Global
Action
Hook
<mDT>: { action
: string; handler
: HookHandler<mDT>; kind
: "global action" }Type Parameters
Type declaration
action: string
kind: "global action"
HookDescriptionWithAction
Hook
Description
With
Action
<mDT>: { action
: string; from
: string; handler
: HookHandler<mDT>; kind
: "named"; to
: string }Type Parameters
Type declaration
action: string
from: string
kind: "named"
to: string
JssmCorner
JssmCorner: "regular" | "rounded" | "lined"
JssmFailure
JssmFailure: { error: any; success: false }
JssmIncomplete
JssmIncomplete: { success: "incomplete" }
JssmLineStyle
JssmLineStyle: "solid" | "dashed" | "dotted"
JssmStatePermitter
Jssm
State
Permitter
<DataType>: ((OldState
: StateType, NewState
: StateType, OldData
: DataType, NewData
: DataType) => boolean)Type Parameters
Type declaration
Parameters
OldData: DataType
NewData: DataType
Returns boolean
JssmStatePermitterMaybeArray
Type Parameters
JssmStateStyleBackgroundColor
Jssm
State
Style
Background
Color
: { key
: "background-color"; value
: JssmColor }JssmStateStyleBorderColor
Jssm
State
Style
Border
Color
: { key
: "border-color"; value
: JssmColor }JssmStateStyleColor
Jssm
State
Style
Color
: { key
: "color"; value
: JssmColor }JssmStateStyleCorners
Jssm
State
Style
Corners
: { key
: "corners"; value
: JssmCorner }JssmStateStyleLineStyle
Jssm
State
Style
Line
Style
: { key
: "line-style"; value
: JssmLineStyle }JssmStateStyleShape
Jssm
State
Style
Shape
: { key
: "shape"; value
: JssmShape }JssmStateStyleStateLabel
JssmStateStyleStateLabel: { key: "state-label"; value: string }
Type declaration
key: "state-label"
value: string
JssmStateStyleTextColor
Jssm
State
Style
Text
Color
: { key
: "text-color"; value
: JssmColor }JssmSuccess
JssmSuccess: { success: true }
JssmTransitionCycle
Jssm
Transition
Cycle
: { key
: "cycle"; value
: StateType }JssmTransitionPermitter
Jssm
Transition
Permitter
<DataType>: ((OldState
: StateType, NewState
: StateType, OldData
: DataType, NewData
: DataType) => boolean)Type Parameters
Type declaration
Parameters
OldData: DataType
NewData: DataType
Returns boolean
JssmTransitionPermitterMaybeArray
Type Parameters
MainTransitionHook
Main
Transition
Hook
<mDT>: { handler
: HookHandler<mDT>; kind
: "main transition" }Type Parameters
PostAnyActionHook
Post
Any
Action
Hook
<mDT>: { handler
: PostHookHandler<mDT>; kind
: "post any action" }Type Parameters
PostAnyTransitionHook
Post
Any
Transition
Hook
<mDT>: { handler
: PostHookHandler<mDT>; kind
: "post any transition" }Type Parameters
Type declaration
kind: "post any transition"
PostBasicHookDescription
Post
Basic
Hook
Description
<mDT>: { from
: string; handler
: PostHookHandler<mDT>; kind
: "post hook"; to
: string }Type Parameters
Type declaration
from: string
kind: "post hook"
to: string
PostEntryHook
Post
Entry
Hook
<mDT>: { handler
: PostHookHandler<mDT>; kind
: "post entry"; to
: string }Type Parameters
Type declaration
kind: "post entry"
to: string
PostExitHook
Post
Exit
Hook
<mDT>: { from
: string; handler
: PostHookHandler<mDT>; kind
: "post exit" }Type Parameters
Type declaration
from: string
kind: "post exit"
PostForcedTransitionHook
Post
Forced
Transition
Hook
<mDT>: { handler
: PostHookHandler<mDT>; kind
: "post forced transition" }Type Parameters
Type declaration
kind: "post forced transition"
PostGlobalActionHook
Post
Global
Action
Hook
<mDT>: { action
: string; handler
: PostHookHandler<mDT>; kind
: "post global action" }Type Parameters
Type declaration
action: string
kind: "post global action"
PostHookDescriptionWithAction
Post
Hook
Description
With
Action
<mDT>: { action
: string; from
: string; handler
: PostHookHandler<mDT>; kind
: "post named"; to
: string }Type Parameters
Type declaration
action: string
from: string
kind: "post named"
to: string
PostHookHandler
Post
Hook
Handler
<mDT>: ((hook_context
: HookContext<mDT>) => void)Type Parameters
PostMainTransitionHook
Post
Main
Transition
Hook
<mDT>: { handler
: PostHookHandler<mDT>; kind
: "post main transition" }Type Parameters
Type declaration
kind: "post main transition"
PostStandardTransitionHook
Post
Standard
Transition
Hook
<mDT>: { handler
: PostHookHandler<mDT>; kind
: "post standard transition" }Type Parameters
Type declaration
kind: "post standard transition"
StandardTransitionHook
Standard
Transition
Hook
<mDT>: { handler
: HookHandler<mDT>; kind
: "standard transition" }Type Parameters
Type declaration
kind: "standard transition"
StateType
StateType: string
TraversalFunctor
TraversalFunctor<T>: ((_element: T, _index?: number, _array?: T[]) => unknown)
Type Parameters
Type declaration
- (_element: T, _index?: number, _array?: T[]): unknown
Parameters
_element: T
Optional _index: number
Optional _array: T[]
Returns unknown