🏠 New in High Baseline Support: Mouse events
January 29, 2018
Mouse events, such as click
, mousedown
, or mousemove
, fire when users interact with an input or pointing device such as a mouse, trackpad, or touchscreen.
Source features
api.MouseEvent
[mdn]api.MouseEvent.button
[mdn]api.MouseEvent.clientX
[mdn]api.MouseEvent.altKey
[mdn]api.MouseEvent.clientY
[mdn]api.MouseEvent.ctrlKey
[mdn]api.MouseEvent.metaKey
[mdn]api.MouseEvent.pageX
[mdn]api.MouseEvent.pageY
[mdn]api.MouseEvent.relatedTarget
[mdn]api.MouseEvent.screenX
[mdn]api.MouseEvent.screenY
[mdn]api.MouseEvent.shiftKey
[mdn]api.Element.mouseout_event
[mdn]api.Element.click_event
[mdn]api.Element.dblclick_event
[mdn]api.Element.mousedown_event
[mdn]api.Element.mousemove_event
[mdn]api.Element.mouseover_event
[mdn]api.Element.mouseup_event
[mdn]api.MouseEvent.MouseEvent
[mdn]api.Element.mouseenter_event
[mdn]api.Element.mouseleave_event
[mdn]api.MouseEvent.movementX
[mdn]api.MouseEvent.movementY
[mdn]api.MouseEvent.offsetX
[mdn]api.MouseEvent.offsetY
[mdn]api.MouseEvent.x
[mdn]api.MouseEvent.y
[mdn]api.MouseEvent.buttons
[mdn]api.MouseEvent.getModifierState
[mdn]