Sign in
chromium
/
external
/
github.com
/
SeleniumHQ
/
selenium
/
refs/heads/api-docs-4.30.0-all
/
.
/
node_modules
/
dom-helpers
/
esm
/
width.d.ts
blob: 4b40986f24f82e95f8d27eeae3113843a163369b [
file
] [
log
] [
blame
] [
edit
]
/**
* 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
;