Class PanControlStateMachine

The pan control state machine. It's not created directly using the TemplateStateMachine class. A few helper functions are in place to make it easier to use. (user don't have to memorize the event names)

Hierarchy (View Summary)

Input Flow Control

Other

_context: PanContext
_currentState: PanControlStates
_happensCallbacks: (
    event: keyof PanEventPayloadMapping,
    payload: PanByInputEventPayload | PanToInputEventPayload | EmptyPayload,
    context: PanContext,
) => void[]
_stateChangeCallbacks: StateChangeCallback<PanControlStates>[]
_statesArray: PanControlStates[]