vevet
Version:
Vevet is a JavaScript library for creative development that simplifies crafting rich interactions like split text animations, carousels, marquees, preloading, and more.
26 lines (22 loc) • 475 B
text/typescript
export interface ISnapWheelProps {
/**
* Enable or disable mouse wheel events for progress control
* @default false
*/
wheel?: boolean;
/**
* Speed factor for mouse wheel movements
* @default 1
*/
wheelSpeed?: number;
/**
* Wheel axis
* @default 'auto'
*/
wheelAxis?: 'x' | 'y' | 'auto';
/**
* If disabled, then slider will be animated only when you stop scrolling the wheel.
* @default true
*/
followWheel?: boolean;
}