UNPKG

@qntm-code/utils

Version:

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

5 lines (4 loc) 169 B
/** * Gets the computed style of an element as a number. */ export declare function getComputedStyleAsNumber(element: HTMLElement, style: 'height' | 'width'): number;