📄 width.d.ts
/home/palash/git/site/node_modules/dom-helpers/cjs/width.d.ts
Language: ts • Lines: 7
/**
 * Returns the width of a given element.
 *
 * @param node the element
 * @param client whether to use `clientWidth` if possible
 */
export default function getWidth(node: HTMLElement, client?: boolean): number;