ConstraintJS - v0.10.2
    Preparing search index...

    Type Alias TransitionCallback

    TransitionCallback: (
        this: FSM,
        run: (...eventArgs: unknown[]) => void,
        fsm: FSM,
    ) => void

    Sets up a transition to run. It's called with a function that runs the transition (call it whenever the transition should happen) and the FSM.

    Type Declaration

      • (this: FSM, run: (...eventArgs: unknown[]) => void, fsm: FSM): void
      • Parameters

        • this: FSM
        • run: (...eventArgs: unknown[]) => void
        • fsm: FSM

        Returns void