UNPKG

244 BTypeScriptView Raw
1import { IRectangle } from '../IRectangle';
2/**
3 * Helper to get bounding client rect. Passing in window will get the window size.
4 *
5 * @public
6 */
7export declare function getRect(element: HTMLElement | Window | null): IRectangle | undefined;