MessageEvent class

Inheritance

Constructors

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

Properties

bubbles bool?
no setterinherited
cancelable bool?
no setterinherited
composed bool?
no setterinherited
currentTarget EventTarget?
no setterinherited
data → dynamic
no setter
defaultPrevented bool
no setterinherited
eventPhase int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isTrusted bool?
no setterinherited
lastEventId String
no setter
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.
no setterinherited
origin String
no setter
path List<EventTarget>
no setterinherited
ports List<MessagePort>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source EventTarget?
no setter
suborigin String?
no setter
target EventTarget?
no setterinherited
timeStamp num?
no setterinherited
type String
no setterinherited

Methods

composedPath() List<EventTarget>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preventDefault() → void
inherited
stopImmediatePropagation() → void
inherited
stopPropagation() → void
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited