25.163. HTMLElement.onmousemove: event handler invoked when the mouse moves within an elementDOM Level 025.163.1. SynopsisFunction onmousemove 25.163.2. DescriptionThe onmousemove property of an HTMLElement object specifies an event-handler function that is invoked when the user moves the mouse pointer within the element. If you define an onmousemove event handler, mouse motion events are generated and reported in huge quantities when the mouse is moved within element. Keep this in mind when writing the function to be invoked by the event handler. If you are interested in tracking mouse drags, register a handler of this type in response to a mousedown event and then deregister it when the mouseup event arrives. 25.163.3. See AlsoElement.addEventListener( ), Event, MouseEvent; Chapter 17 |