Movatterモバイル変換


[0]ホーム

URL:


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

paddingEdge property

CssRect getpaddingEdge

Access the dimensions and position of this element's content + padding box.

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. Thiscan be used to retrieve jQuery'sinnerHeight value for an element.This is also a rectangle equalling the dimensions of clientHeight andclientWidth.

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 paddingEdge => new _PaddingCssRect(this);
  1. Dart
  2. dart:html
  3. Element
  4. paddingEdge property
Element class

[8]ページ先頭

©2009-2025 Movatter.jp