@vue-dnd-kit/core
Version:
Core functionality for Vue DnD Kit - a lightweight Vue 3 library for building performant and accessible drag and drop interfaces
14 lines (13 loc) • 552 B
TypeScript
import { IAutoScrollOptionsInternal, IScrollAdapter, TOverlayPoint } from '../types/auto-scroll';
export declare const defaultScrollAdapter: IScrollAdapter;
/**
* Creates run/stop controller for auto-scroll loop. Element scroll only (no viewport).
*/
export declare function createAutoScrollController(containerRef: {
value: HTMLElement | null;
}, options: IAutoScrollOptionsInternal, getOverlayPoint: () => TOverlayPoint, scrollAdapter?: IScrollAdapter, isScrollingRef?: {
value: boolean;
}): {
run: () => void;
stop: () => void;
};