UNPKG

216 BTypeScriptView Raw
1/**
2 * Returns the height of a given element.
3 *
4 * @param node the element
5 * @param client whether to use `clientHeight` if possible
6 */
7export default function height(node: HTMLElement, client?: boolean): number;