UNPKG

@qntm-code/utils

Version:

A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.

7 lines (6 loc) 194 B
/** * Get the width of an element. * * This helper allows getting of the width when running in a JSDOM environment. */ export declare function getElementWidth(element: HTMLElement): number;