Inheritance
Implemented by
Annotations
  • DomName('Event')

Constants

AT_TARGET int

This event is being handled by the event target.

2
BUBBLING_PHASE int

This event is bubbling up through the target's ancestors.

3
CAPTURING_PHASE int

This event is propagating through the target's ancestors, starting from the document.

1

Static Properties

instanceRuntimeType Type

read-only

Constructors

Event(String type, { bool canBubble: true, bool cancelable: true })

factory
Event.eventType(String type, String name, { bool canBubble: true, bool cancelable: true })

Creates a new Event object of the specified type.

factory
Event.internal_()

Properties

bubbles bool

read-only
cancelable bool

read-only
currentTarget EventTarget

read-only
defaultPrevented bool

read-only
eventPhase int

read-only
hashCode int

read-only, inherited
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.

read-only
path List<EventTarget>

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

read-only
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited
target EventTarget

read-only
timeStamp int

read-only
type String

read-only

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
preventDefault() → void

stopImmediatePropagation() → void

stopPropagation() → void

toString() String

Returns the result of the JavaScript objects toString method.

inherited