W3cubDocs

/Dart 2

contentEdge property

CssRect contentEdge

Access dimensions and position of the Elements in this list.

Setting the height or width properties will set the height or width property for all elements in the list. This returns a rectangle with the dimensions actually available for content in this element, in pixels, regardless of this element's box-sizing property. Getting the height or width returns the height or width of the first Element in this list.

Unlike getBoundingClientRect, the dimensions of this rectangle will return the same numerical height if the element is hidden or not.

Implementation

CssRect get contentEdge;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-html/ElementList/contentEdge.html