UNPKG

filepond

Version:

FilePond, where files go to stretch their bits.

10 lines (9 loc) • 338 B
import type { Bounds } from '../../utils/bounds.js'; export declare const VIEWPORT_MARGIN = 100; /** Measure the position and size of an html element. */ export declare function measurable(options?: { onmeasure?: (bounds: Bounds) => void; onmeasuresync?: (bounds: Bounds) => void; }): { (element: HTMLElement): () => void; };