UNPKG

fluid-dnd

Version:

An agnostic drag and drop library to sort all kind of lists. With current support for vue, react and svelte

9 lines (8 loc) 628 B
import { GapStyle } from '../../../index'; import { Direction } from '..'; export declare const getNumberFromPixels: (pixels: string) => 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 getGapInfo: (element: HTMLElement | null, direction: Direction) => [number, boolean]; export declare const getGapPixels: (element: HTMLElement, direction: Direction) => number;