UNPKG

@egjs/flicking

Version:

Everyday 30 million people experience. It's reliable, flexible and extendable carousel.

18 lines (17 loc) 445 B
import { AxesEvents } from "@egjs/axes"; import Flicking from "../Flicking"; import State, { STATE_TYPE } from "./states/State"; /** * @internal */ declare class StateMachine { private _state; get state(): State; constructor(); fire(eventType: keyof AxesEvents, externalCtx: { flicking: Flicking; axesEvent: any; }): void; transitTo: (nextStateType: STATE_TYPE) => State; } export default StateMachine;