UNPKG

@atlaskit/pragmatic-drag-and-drop-auto-scroll

Version:

An optional Pragmatic drag and drop package that enables automatic scrolling during a drag operation

5 lines (4 loc) • 393 B
import type { ElementDragType, CleanupFn } from '@atlaskit/pragmatic-drag-and-drop/types'; import type { ElementAutoScrollArgs, WindowAutoScrollArgs } from '../internal-types'; export declare const autoScrollForElements: (args: ElementAutoScrollArgs<ElementDragType>) => CleanupFn; export declare const autoScrollWindowForElements: (args?: WindowAutoScrollArgs<ElementDragType>) => CleanupFn;