codecamp

window属性:onmousedown

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
基本支持支持支持支持
window属性:onmessageerror
window属性:onmousemove
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定