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