vevet
Version:
Vevet is a JavaScript library for creative development that simplifies crafting rich interactions like split text animations, carousels, marquees, preloading, and more.
14 lines (12 loc) • 347 B
text/typescript
export interface ISnapIntervalProps {
/**
* Interval between automatic slide changes in milliseconds. If `null`, the interval is disabled.
* @default null
*/
interval?: number | null;
/**
* Direction of automatic slide changes. Can be either 'next' or 'prev'.
* @default 'next'
*/
intervalDirection?: 'next' | 'prev';
}