Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:html
  3. Element
  4. contentEdge property
contentEdge
description

contentEdge property

CssRect getcontentEdge

Access this element's content position.

This returns a rectangle with the dimensions actually available for contentin this element, in pixels, regardless of this element's box-sizingproperty. UnlikegetBoundingClientRect, the dimensions of this rectanglewill return the same numerical height if the element is hidden or not.

Importantnote: use of this methodwill perform CSS calculations thatcan trigger a browser reflow. Therefore, use of this propertyduring ananimation frame is discouraged. See also:Browser Reflow

Implementation

CssRect get contentEdge => new _ContentCssRect(this);
  1. Dart
  2. dart:html
  3. Element
  4. contentEdge property
Element class

[8]ページ先頭

©2009-2025 Movatter.jp