Not documented.

Inheritance
Implemented by
Annotations
  • DomName('MouseEvent')

Properties

altKey bool
read-only

bubbles bool
read-only, inherited

button int
read-only

cancelable bool
read-only, inherited

client Point
read-only

clientX int
read-only

clientY int
read-only

clipboardData DataTransfer
read-only, inherited

Access to the system's clipboard data during copy, cut, and paste events.

ctrlKey bool
read-only

currentTarget EventTarget
read-only, inherited

dataTransfer DataTransfer
read-only

defaultPrevented bool
read-only, inherited

detail int
read-only, inherited

eventPhase int
read-only, inherited

fromElement Node
read-only

The nonstandard way to access the element that the mouse comes from in the case of a mouseover event.

layer Point
read-only, inherited

matchingTarget Element
read-only, inherited

A pointer to the element whose CSS selector matched within which an event was fired. If this Event was not associated with any Event delegation, accessing this value will throw an UnsupportedError.

metaKey bool
read-only

movement Point
read-only

movementX int
read-only

movementY int
read-only

offset Point
read-only

The coordinates of the mouse pointer in target node coordinates.

offsetX int
read-only

offsetY int
read-only

page Point
read-only, inherited

path List<Node>
read-only, inherited

This event's path, taking into account shadow DOM.

region String
read-only

relatedTarget EventTarget
read-only

screen Point
read-only

screenX int
read-only

screenY int
read-only

shiftKey bool
read-only

target EventTarget
read-only, inherited

timeStamp int
read-only, inherited

toElement Node
read-only

The nonstandard way to access the element that the mouse goes to in the case of a mouseout event.

type String
read-only, inherited

view WindowBase
read-only, inherited

which int
read-only, inherited

Constructors

MouseEvent(String type, {Window view, int detail: 0, int screenX: 0, int screenY: 0, int clientX: 0, int clientY: 0, int button: 0, bool canBubble: true, bool cancelable: true, bool ctrlKey: false, bool altKey: false, bool shiftKey: false, bool metaKey: false, EventTarget relatedTarget})

Methods

preventDefault() → void
inherited

stopImmediatePropagation() → void
inherited

stopPropagation() → void
inherited