UNPKG

dom-helpers

Version:
8 lines (7 loc) 216 B
/** * Returns the height of a given element. * * @param node the element * @param client whether to use `clientHeight` if possible */ export default function height(node: HTMLElement, client?: boolean): number;