fluid-dnd
Version:
An agnostic drag and drop library to sort all kind of lists. With current support for vue 3 and svelte
8 lines (7 loc) • 533 B
TypeScript
import { GapStyle } from "../../../index";
import { Direction } from "..";
export declare const getNumberFromPixels: (pixels: string | undefined) => number;
export declare const computeGapPixels: (element: Element, gapType: GapStyle) => number;
export declare const gapAndDisplayInformation: (element: Element | null, gapStyle: GapStyle) => [number, boolean];
export declare const getBeforeStyles: (element: HTMLElement) => [number, number];
export declare const getGapPixels: (element: HTMLElement, direction: Direction) => number;