MouseEvent class

Inheritance
Implementers
Annotations
  • @Native("MouseEvent,DragEvent")

Constructors

MouseEvent.new(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 setterinherited
button โ†’ int
no setter
buttons โ†’ int?
no setter
cancelable โ†’ bool?
no setterinherited
client โ†’ Point<num>
no setter
composed โ†’ bool?
no setterinherited
ctrlKey โ†’ bool
no setter
currentTarget โ†’ EventTarget?
no setterinherited
dataTransfer โ†’ DataTransfer
no setter
defaultPrevented โ†’ bool
no setterinherited
detail โ†’ int?
no setterinherited
eventPhase โ†’ int
no setterinherited
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 setterinherited
isTrusted โ†’ bool?
no setterinherited
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 setterinherited
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 setterinherited
region โ†’ String?
no setter
relatedTarget โ†’ EventTarget?
no setter
runtimeType โ†’ Type
A representation of the runtime type of the object.
no setterinherited
screen โ†’ Point<num>
no setter
shiftKey โ†’ bool
no setter
sourceCapabilities โ†’ InputDeviceCapabilities?
no setterinherited
target โ†’ EventTarget?
no setterinherited
timeStamp โ†’ num?
no setterinherited
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 setterinherited
view โ†’ WindowBase?
no setterinherited

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