UNPKG

595 BTypeScriptView Raw
1import { Size } from '../interface';
2/**
3 * @ignore
4 * calculate the chart size
5 * @param ele DOM element
6 * @param autoFit should auto fit
7 * @param width chart width which is set by user
8 * @param height chart height which is set by user
9 * @returns the chart width and height
10 */
11export declare function getChartSize(ele: HTMLElement, autoFit: boolean, width: number, height: number): Size;
12/**
13 * @ignore
14 * remove html element from its parent
15 * @param dom
16 */
17export declare function removeDom(dom: HTMLElement): void;
18/** @ignore */
19export { createDom, modifyCSS } from '@antv/dom-util';