DOMRectReadOnly: left プロパティ

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

メモ: この機能はウェブワーカー内で利用可能です。

leftDOMRectReadOnly インターフェイスの読み取り専用プロパティで、この DOMRect の左端の座標を返します。(x と同じ、または width が負の数であれば x + width と同じです。)

倍精度浮動小数点値です。

仕様書

Specification
Geometry Interfaces Module Level 1
# dom-domrectreadonly-left

ブラウザーの互換性

関連情報