WheelEvent: deltaY プロパティ
WheelEvent.deltaY
は読み取り専用のプロパティで、 WheelEvent.deltaMode
単位での垂直スクロール量を表す double
です。
値
数値です。
例
js
const syntheticEvent = new WheelEvent("syntheticWheel", {
deltaY: 4,
deltaMode: 0,
});
console.log(syntheticEvent.deltaY);
仕様書
Specification |
---|
UI Events # dom-wheelevent-deltay |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
deltaY |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.