instance method Element.Layout#get
Element.Layout#get(property) → Number
-
property
(String
) – One of the properties defined inElement.Layout.PROPERTIES
.
Retrieve the measurement specified by property
. Will throw an error
if the property is invalid.
Caveats
Element.Layout
can measure the dimensions of an element hidden with CSS (display: none
), but only if its parent element is visible.