Class ButtonPressedTransition

An FSM transition for the Button HTML element.

Hierarchy

Constructors

Properties

action: ((evt) => void)

Type declaration

    • (evt): void
    • Parameters

      • evt: InputEvent

      Returns void

guard: ((evt) => boolean)

Type declaration

    • (evt): boolean
    • Parameters

      • evt: InputEvent

      Returns boolean

acceptedEvents: ReadonlySet<"input" | "auxclick" | "change" | "click" | "keydown" | "keyup" | "mousedown" | "mouseenter" | "mouseleave" | "mousemove" | "mouseout" | "mouseover" | "mouseup" | "scroll" | "touchend" | "touchmove" | "touchstart" | "wheel"> = ...

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