MouseEvent class - dart:html library (original) (raw)

Inheritance

Implementers

Annotations

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, })

factory

Properties

altKeybool

no setter

bubblesbool?

no setterinherited

buttonint

no setter

buttonsint?

no setter

cancelablebool?

no setterinherited

clientPoint<num>

no setter

composedbool?

no setterinherited

ctrlKeybool

no setter

currentTargetEventTarget?

no setterinherited

dataTransferDataTransfer

no setter

defaultPreventedbool

no setterinherited

detailint?

no setterinherited

eventPhaseint

no setterinherited

fromElementNode?

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

no setter

hashCodeint

The hash code for this object.

no setterinherited

isTrustedbool?

no setterinherited

layerPoint<num>

no setter

matchingTargetElement

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

metaKeybool

no setter

movementPoint<num>

no setter

offsetPoint<num>

The coordinates of the mouse pointer in target node coordinates.

no setter

pagePoint<num>

no setter

pathList<EventTarget>

no setterinherited

regionString?

no setter

no setter

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

screenPoint<num>

no setter

shiftKeybool

no setter

sourceCapabilitiesInputDeviceCapabilities?

no setterinherited

targetEventTarget?

no setterinherited

timeStampnum?

no setterinherited

toElementNode?

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

no setter

typeString

no setterinherited

viewWindowBase?

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