description

# MouseEvent class

Inheritance
  - Object
  - Event
  - UIEvent
  - MouseEvent
Implementers
  - PointerEvent
  - WheelEvent
Annotations
  - @Native.new("MouseEvent,DragEvent")

## 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})
  factory

## Properties

altKey → bool
  no setter
bubbles → bool?
  no setter inherited
button → int
  no setter
buttons → int?
  no setter
cancelable → bool?
  no setter inherited
client → Point<num>
  no setter
composed → bool?
  no setter inherited
ctrlKey → bool
  no setter
currentTarget → EventTarget?
  no setter inherited
dataTransfer → DataTransfer
  no setter
defaultPrevented → bool
  no setter inherited
detail → int?
  no setter inherited
eventPhase → int
  no setter inherited
fromElement → Node?
  The nonstandard way to access the element that the mouse comes from in the case of a `mouseover` event.
  no setter
hashCode → int
  The hash code for this object.
  no setter inherited
isTrusted → bool?
  no setter inherited
layer → Point<num>
  no setter
matchingTarget → Element
  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.
  no setter inherited
metaKey → bool
  no setter
movement → Point<num>
  no setter
offset → Point<num>
  The coordinates of the mouse pointer in target node coordinates.
  no setter
page → Point<num>
  no setter
path → List<EventTarget>
  no setter inherited
region → String?
  no setter
relatedTarget → EventTarget?
  no setter
runtimeType → Type
  A representation of the runtime type of the object.
  no setter inherited
screen → Point<num>
  no setter
shiftKey → bool
  no setter
sourceCapabilities → InputDeviceCapabilities?
  no setter inherited
target → EventTarget?
  no setter inherited
timeStamp → num?
  no setter inherited
toElement → Node?
  The nonstandard way to access the element that the mouse goes to in the case of a `mouseout` event.
  no setter
type → String
  no setter inherited
view → WindowBase?
  no setter inherited

## Methods

composedPath() → List<EventTarget>
  inherited
getModifierState(String keyArg) → bool
noSuchMethod(Invocation invocation) → dynamic
  Invoked when a nonexistent method or property is accessed.
  inherited
preventDefault() → void
  inherited
stopImmediatePropagation() → void
  inherited
stopPropagation() → void
  inherited
toString() → String
  A string representation of this object.
  inherited

## Operators

operator ==(Object other) → bool
  The equality operator.
  inherited