Inheritance
Annotations
  • DomName('MessageEvent')

Static Properties

instanceRuntimeType Type

read-only

Constructors

MessageEvent(String type, {bool canBubble: false, bool cancelable: false, Object data, String origin, String lastEventId, Window source, List<MessagePort> messagePorts})

factory
MessageEvent.internal_()

Properties

bubbles bool

read-only, inherited
cancelable bool

read-only, inherited
currentTarget EventTarget

read-only, inherited
data → dynamic

read-only
defaultPrevented bool

read-only, inherited
eventPhase int

read-only, inherited
hashCode int

read-only, inherited
lastEventId String

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

read-only
path List<EventTarget>

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

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited
source EventTarget

read-only
target EventTarget

read-only, inherited
timeStamp int

read-only, inherited
type String

read-only, inherited

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

inherited
stopImmediatePropagation() → void

inherited
stopPropagation() → void

inherited
toString() String

Returns the result of the JavaScript objects toString method.

inherited