MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

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,