Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

UIEvent.detail

这篇翻译不完整。请帮忙从英语翻译这篇文章

UIEvent.detail是只读属性, 当值为非空的时候, 提供当前点击数(和环境有关) 。

click 或者 dblclick 事件, UIEvent.detail 是当前点击数量。

mousedown 或者 mouseup 事件, UIEvent.detail是1加上当前点击数。

对所有的其它UIEvent 对象, UIEvent.detail 总是零.

Specifications

Specification Status Comment
Document Object Model (DOM) Level 3 Events Specification
UIEvent.detail
Working Draft  
Document Object Model (DOM) Level 2 Events Specification
UIEvent.detail
Recommendation Initial definition.

Browser compatibility

Feature Firefox (Gecko) Chrome Internet Explorer Opera Safari
Basic support ? ? ? ? ?
Feature Firefox Mobile (Gecko) Android IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? ? ?

文档标签和贡献者

 此页面的贡献者: guoyang
 最后编辑者: guoyang,