다음을 통해 공유


onmousemove event

Fires when the user moves the mouse over the object.

 

Syntax

HTML Attribute <element onmousemove = "handler(event)">
Event Property object.onmousemove = handler;
attachEvent Method object.attachEvent("onmousemove", handler)
addEventListener Method object.addEventListener("mousemove", handler, useCapture)

 

Event information

Synchronous No
Bubbles Yes
Cancelable No

 

Event handler parameters

Standards information

Remarks

If the user presses a mouse button, use the IHTMLEventObj::button property to determine which button was pressed.

Initiates any action associated with this event.

To invoke this event, do one of the following:

  • Move the mouse over the document.

See also

Reference

HTMLFrameSiteEvents2::onmousewheel

HTMLFrameSiteEvents2::onmousedown

HTMLFrameSiteEvents2::onmouseout

HTMLFrameSiteEvents2::onmouseover

HTMLFrameSiteEvents2::onmouseup

onmspointermove