UNPKG

@readium/navigator

Version:

Next generation SDK for publications in Web Apps

8 lines (7 loc) 216 B
/** * Returns the "content width" of an element, which is its clientWidth * minus any horizontal padding. * * @param el - The element to measure. */ export declare function getContentWidth(el: Element): number;