UNPKG
@readium/navigator
Version:
latest (2.2.5)
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.1
2.1.0
2.0.0
2.0.0-beta.14
2.0.0-beta.13
2.0.0-beta.12
2.0.0-beta.11
2.0.0-beta.10
2.0.0-beta.9
2.0.0-beta.8
2.0.0-beta.7
2.0.0-beta.6
2.0.0-beta.5
2.0.0-beta.4
2.0.0-beta.3
2.0.0-beta.2
2.0.0-beta.1
1.3.4
1.3.3
1.3.2
1.3.1
1.2.0
Next generation SDK for publications in Web Apps
github.com/readium/ts-toolkit
readium/ts-toolkit
@readium/navigator
/
types
/
src
/
helpers
/
dimensions.d.ts
8 lines
(7 loc)
•
216 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** * 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
;