@egjs/flicking
Version:
Everyday 30 million people experience. It's reliable, flexible and extendable carousel.
22 lines (21 loc) • 534 B
TypeScript
import State from "./State";
/**
* A default state when there's no user input and no animation's playing
* @internal
*/
declare class IdleState extends State {
/**
* Whether user is clicking or touching
* @readonly
*/
readonly holding = false;
/**
* Whether Flicking's animating
* @readonly
*/
readonly animating = false;
onEnter(): void;
onHold(ctx: Parameters<State["onHold"]>[0]): void;
onChange(ctx: Parameters<State["onChange"]>[0]): void;
}
export default IdleState;