mousemove

  • Revision slug: DOM/Mozilla_event_reference/mousemove
  • Revision title: mousemove
  • Revision id: 371195
  • Created:
  • Creator: tw2113
  • Is current revision? No
  • Comment Clarification

Revision Content

The mousemove event is fired when a pointing device (usually a mouse) is moved while over an element.

General info

Specification
DOM L3
Interface
MouseEvent
Bubbles
Yes
Cancelable
Yes
Target
Element
Default Action
None

Properties

Any properties listed that have "Read only" in the description means they aren't changeable by the user.

{{OpenEventProperties()}}{{UIEventProperties()}}{{MouseEventProperties()}}{{ModifiersEventProperties()}}{{CloseEventProperties()}}

{{MouseRelatedEvents()}}

Revision Source

<p>The <code>mousemove</code> event is fired when a pointing device (usually a mouse) is moved while over an element.</p>
<h2 id="General_info">General info</h2>
<dl>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Specification</dt>
  <dd style="margin: 0 0 0 120px;">
    <a class="external" href="http://www.w3.org/TR/DOM-Level-3-Events/#event-type-click">DOM L3</a></dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Interface</dt>
  <dd style="margin: 0 0 0 120px;">
    MouseEvent</dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Bubbles</dt>
  <dd style="margin: 0 0 0 120px;">
    Yes</dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Cancelable</dt>
  <dd style="margin: 0 0 0 120px;">
    Yes</dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Target</dt>
  <dd style="margin: 0 0 0 120px;">
    Element</dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Default Action</dt>
  <dd style="margin: 0 0 0 120px;">
    None</dd>
</dl>
<h2 id="Properties">Properties</h2>
<p>Any properties listed that have "Read only" in the description means they aren't changeable by the user.</p>
<p>{{OpenEventProperties()}}{{UIEventProperties()}}{{MouseEventProperties()}}{{ModifiersEventProperties()}}{{CloseEventProperties()}}</p>
<h2 id="Related_Events">Related Events</h2>
<p>{{MouseRelatedEvents()}}</p>
Revert to this revision