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.

window.onmouseup

概述

当前窗口的mouseup事件的事件句柄.

语法

window.onmouseup = funcRef;

参数

  • funcRef 是个函数引用

例子

window.onmouseup = doFunc;
<html>
<head>

<title>onmouseup测试</title>

<script type="text/javascript">

window.onmouseup = mouseup;

function mouseup()
{
 alert("检测到mouseup事件!");
}
</script>
</head>

<body>
<p>在页面上按下鼠标中某个键,保持几秒后松开.mouseup事件会在你松开鼠标时触发</p>
</body>
</html>

规范

没有任何公开的标准

文档标签和贡献者

 此页面的贡献者: teoli, khalid32, ziyunfei
 最后编辑者: khalid32,