fluid-dnd
Version:
An agnostic drag and drop library to sort all kind of lists. With current support for vue 3 and svelte
5 lines (4 loc) • 313 B
TypeScript
import { ElementScroll } from "index";
import { Direction } from "..";
export declare const scrollByDirection: (element: HTMLElement, direction: Direction, scrollAmount: number) => void;
export declare const scrollPercent: (direction: Direction, droppable: HTMLElement, droppableScroll: ElementScroll) => number;