mouseup

当指针在元素中时, mouseup事件在指针设备(如鼠标或触摸板)按钮放开时触发。mouseup 事件与mousedown 事件相反。

Bubbles Yes
Cancelable Yes
Interface MouseEvent
Event handler property onmouseup

示例

参见 mousemove 事件以获取示例代码。

规范

Specification
UI Events
# event-type-mouseup
HTML Standard
# handler-onmouseup

浏览器兼容性

BCD tables only load in the browser

参见