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

表示对象的运行时类型。

read-only, inherited
target EventTarget

read-only
timeStamp int

read-only
type String

read-only

Operators

operator ==(other) bool

相等操作符。

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

当一个不存在的函数或成员变量被访问时,该函数被调用。

inherited
preventDefault() → void

stopImmediatePropagation() → void

stopPropagation() → void

toString() String

Returns the result of the JavaScript objects toString method.

inherited