W3cubDocs

/Dart 2

MouseEvent class

Inheritance
Implemented by
Annotations
  • @Native("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

altKeybool
final
buttonint
final
buttonsint
final
clientPoint<num>
read-only
ctrlKeybool
final
dataTransferDataTransfer
read-only
fromElementNode
final
The nonstandard way to access the element that the mouse comes from in the case of a mouseover event. [...]
layerPoint<num>
read-only
metaKeybool
final
movementPoint<num>
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), read-only
offsetPoint<num>
read-only
The coordinates of the mouse pointer in target node coordinates. [...]
pagePoint<num>
read-only
regionString
final
relatedTargetEventTarget
read-only
screenPoint<num>
read-only
shiftKeybool
final
toElementNode
final
The nonstandard way to access the element that the mouse goes to in the case of a mouseout event. [...]
bubblesbool
final, inherited
cancelablebool
final, inherited
composedbool
final, inherited
currentTargetEventTarget
read-only, inherited
defaultPreventedbool
final, inherited
detailint
final, inherited
eventPhaseint
final, inherited
hashCodeint
read-only, inherited
The hash code for this object. [...]
isTrustedbool
final, inherited
matchingTargetElement
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.
pathList<EventTarget>
read-only, inherited
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.
sourceCapabilitiesInputDeviceCapabilities
final, inherited
targetEventTarget
read-only, inherited
timeStampnum
final, inherited
typeString
final, inherited
viewWindowBase
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
inherited
The equality operator. [...]

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-html/MouseEvent-class.html