Class SubFSMTransition

A transition that refers to another FSM. Entering this transition starts the underlying sub-FSM. To leave the transition, the sub-FSM must end.

Hierarchy

Constructors

Properties

action: ((evt) => void)

Type declaration

    • (evt): void
    • Parameters

      • evt: Event

      Returns void

guard: ((evt) => boolean)

Type declaration

    • (evt): boolean
    • Parameters

      • evt: Event

      Returns boolean

subFSM: FSM
subFSMHandler: FSMHandler
subStateSubscription?: Subscription

Temporary subscription to the current state of the sub-FSM.

Accessors

Methods

  • Returns ReadonlySet<"input" | "auxclick" | "change" | "click" | "keydown" | "keyup" | "mousedown" | "mouseenter" | "mouseleave" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "scroll" | "touchend" | "touchmove" | "touchstart" | "wheel">

    The set of events accepted by the transition.

Generated using TypeDoc