UNPKG

@juggle/resize-observer

Version:

Polyfills the ResizeObserver API and supports box size options from the latest spec

15 lines (14 loc) 329 B
declare class Scheduler { private observer; private listener; stopped: boolean; constructor(); private run; schedule(): void; private observe; start(): void; stop(): void; } declare const scheduler: Scheduler; declare const updateCount: (n: number) => void; export { scheduler, updateCount };