MouseEventAttrs

Mouse Events: triggered by a mouse, or similar user actions.

class Object
trait Matchable
class Any
trait Attrs
object all.type
object attrs.type

Value members

Concrete fields

The click event is raised when the user clicks on an element. The click event will occur after the mousedown and mouseup events.

The click event is raised when the user clicks on an element. The click event will occur after the mousedown and mouseup events.

MDN

The dblclick event is fired when a pointing device button (usually a mouse button) is clicked twice on a single element.

The dblclick event is fired when a pointing device button (usually a mouse button) is clicked twice on a single element.

MDN

Script to be run when an element is dragged

Script to be run when an element is dragged

Script to be run at the end of a drag operation

Script to be run at the end of a drag operation

Script to be run when an element has been dragged to a valid drop target

Script to be run when an element has been dragged to a valid drop target

Script to be run when an element leaves a valid drop target

Script to be run when an element leaves a valid drop target

Script to be run when an element is being dragged over a valid drop target

Script to be run when an element is being dragged over a valid drop target

Script to be run at the start of a drag operation

Script to be run at the start of a drag operation

Script to be run when dragged element is being dropped

Script to be run when dragged element is being dropped

The mousedown event is raised when the user presses the mouse button.

The mousedown event is raised when the user presses the mouse button.

MDN

The mousemove event is raised when the user moves the mouse.

The mousemove event is raised when the user moves the mouse.

MDN

The mouseout event is raised when the mouse leaves an element (e.g, when the mouse moves off of an image in the web page, the mouseout event is raised for that image element).

The mouseout event is raised when the mouse leaves an element (e.g, when the mouse moves off of an image in the web page, the mouseout event is raised for that image element).

MDN

The mouseover event is raised when the user moves the mouse over a particular element.

The mouseover event is raised when the user moves the mouse over a particular element.

MDN

The mouseup event is raised when the user releases the mouse button.

The mouseup event is raised when the user releases the mouse button.

MDN

Specifies the function to be called when the window is scrolled.

Specifies the function to be called when the window is scrolled.

MDN

Fires when the mouse wheel rolls up or down over an element

Fires when the mouse wheel rolls up or down over an element