UIEvent: detail プロパティ
UIEvent.detail
は読み取り専用のプロパティで、 0 以外の値の場合には現在(イベントによっては次)のクリック数を示します。
click
または dblclick
イベントでは、 UIEvent.detail
は現在のクリック数です。
mousedown
または mouseup
イベントでは、 UIEvent.detail
は現在のクリック数に1 を加えたものです。
他の UIEvent
オブジェクトでは、 UIEvent.detail
は常にゼロです。
仕様書
Specification |
---|
UI Events # dom-uievent-detail |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
detail |
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.