@egjs/flicking
Version:
Everyday 30 million people experience. It's reliable, flexible and extendable carousel.
21 lines (20 loc) • 517 B
TypeScript
import State from "./State";
/**
* A state that activates when user's dragging the Flicking area
* @internal
*/
declare class DraggingState extends State {
/**
* Whether user is clicking or touching
* @readonly
*/
readonly holding = true;
/**
* Whether Flicking's animating
* @readonly
*/
readonly animating = true;
onChange(ctx: Parameters<State["onChange"]>[0]): void;
onRelease(ctx: Parameters<State["onRelease"]>[0]): void;
}
export default DraggingState;