阅读(4411) (18)

window属性:onmousedown

2018-05-15 11:13:39 更新

onmousedown属性

该onmousedown属性返回当前元素上的onmousedown事件处理程序代码。

onmousedown属性语法

element.onmousedown = eventHandler

笔记

在当用户按下鼠标按钮时,将引发mousedown事件。

规范

规范状态注释
HTML Living Standard
规范中'onmousedown'的定义。
Living Standard
 

浏览器兼容性

我们正在将兼容性数据转换为机器可读的JSON格式。

  • 电脑端
特征Chrome
Edge
Firefox(Gecko)Internet Explorer
Opera
Safari(WebKit)
基本支持支持支持
  • 移动端
特征AndroidAndroid WebviewEdge
Firefox Mobile(Gecko)Firefox OSIE MobileOpera MobileSafari MobileChrome for Android
基本支持支持支持支持