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) • 421 B
import type { TextSelectionDragType, CleanupFn } from '@atlaskit/pragmatic-drag-and-drop/types'; import type { ElementAutoScrollArgs, WindowAutoScrollArgs } from '../internal-types'; export declare const autoScrollForTextSelection: (args: ElementAutoScrollArgs<TextSelectionDragType>) => CleanupFn; export declare const autoScrollWindowForTextSelection: (args?: WindowAutoScrollArgs<TextSelectionDragType>) => CleanupFn;