8 lines
263 B
TypeScript
8 lines
263 B
TypeScript
import type { IRectangle } from '../IRectangle';
|
|
/**
|
|
* Helper to get bounding client rect. Passing in window will get the window size.
|
|
*
|
|
* @public
|
|
*/
|
|
export declare function getRect(element: HTMLElement | Window | null, win?: Window): IRectangle | undefined;
|