UNPKG

ag-charts-community

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

16 lines (15 loc) 445 B
declare type Size = { width: number; height: number; }; declare type OnSizeChange = (size: Size, element: HTMLElement) => void; export declare class SizeMonitor { private static elements; private static resizeObserver; private static ready; static init(): void; private static checkSize; static observe(element: HTMLElement, cb: OnSizeChange): void; static unobserve(element: HTMLElement): void; } export {};