Not documented.

Implemented by
Annotations
  • DomName('Event')

Constants

int AT_TARGET = 2
const

This event is being handled by the event target.

int BUBBLING_PHASE = 3
const

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

int CAPTURING_PHASE = 1
const

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

Properties

bubbles bool
read-only

cancelable bool
read-only

clipboardData DataTransfer
read-only

Access to the system's clipboard data during copy, cut, and paste events.

currentTarget EventTarget
read-only

defaultPrevented bool
read-only

eventPhase int
read-only

matchingTarget Element
read-only

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.

path List<Node>
read-only

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

target EventTarget
read-only

timeStamp int
read-only

type String
read-only

Constructors

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

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

Creates a new Event object of the specified type.

Methods

preventDefault() → void

stopImmediatePropagation() → void

stopPropagation() → void