DOMPoint: y プロパティ

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.

DOMPoint インターフェイスの y プロパティは、空間内の点の垂直座標 y を保持します。

変換によって方向が変更されていない限り、 y の値は下に向かって増加し、上に向かって減少します。

この点の y 座標の値を示す倍精度浮動小数点値。この値は無制限であり、無限または無効であることが許されます(つまり、その値は NaN または ±Infinity であるかもしれません)。

仕様書

Specification
Geometry Interfaces Module Level 1
# dom-dompointreadonly-y

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
y

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

関連情報

  • その他の座標プロパティ: x, z, および視点位置である w