MessageEvent class

Inheritance
Annotations
  • @Native("MessageEvent")

Constructors

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

Properties

data → dynamic
read-only
lastEventId String
@Unstable(), final
origin String
final
ports List<MessagePort>
@Creates('JSExtendableArray'), @Unstable(), final
source EventTarget
read-only
suborigin String
final
bubbles bool
final, inherited
cancelable bool
final, inherited
composed bool
final, inherited
currentTarget EventTarget
read-only, inherited
defaultPrevented bool
final, inherited
eventPhase int
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isTrusted bool
final, 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, inherited
path List<EventTarget>
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
target EventTarget
read-only, inherited
timeStamp num
final, inherited
type String
final, inherited

Methods

composedPath() List<EventTarget>
inherited
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 a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited