class
MessageEvent

(Not documented.)

Annotations
  • DomName('MessageEvent')
Extends

Properties

Object data
read-only
String lastEventId
read-only
String origin
read-only
EventTarget source
read-only
Element matchingTarget
read-only , inherited
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].
bool bubbles
read-only , inherited
bool cancelable
read-only , inherited
DataTransfer clipboardData
read-only , inherited
Access to the system's clipboard data during copy, cut, and paste events.
EventTarget currentTarget
read-only , inherited
bool defaultPrevented
read-only , inherited
int eventPhase
read-only , inherited
List<Node> path
read-only , inherited
This event's path, taking into account shadow DOM.
EventTarget target
read-only , inherited
int timeStamp
read-only , inherited
String type
read-only , inherited

Constructors

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

Methods

preventDefault() → void
inherited
stopImmediatePropagation() → void
inherited
stopPropagation() → void
inherited