Namespace: rlUtilsDOM

rlUtilsDOM

Methods

(static) getClientRect(element) → {rlMath.rectangle2D}

Determine the client rectangle of an element inside a document.

Parameters:
Name Type Description
element Element

the document element for which to determine the client rectangle

See:
Returns:
Type
rlMath.rectangle2D