Element: mouseup event

The mouseup event is fired at an Element when a button on a pointing device (such as a mouse or trackpad) is released while the pointer is located inside it.

mouseup events are the counterpoint to mousedown events.

Bubbles Yes
Cancelable Yes
Interface MouseEvent
Event handler property onmouseup

Examples

See mousemove_event for example code.

Specifications

Specification
UI Events
# event-type-mouseup

Browser compatibility

BCD tables only load in the browser

See also