MessageEvent class - dart:html library (original) (raw)

Inheritance

Annotations

Constructors

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

factory

Properties

bubblesbool?

no setterinherited

cancelablebool?

no setterinherited

composedbool?

no setterinherited

currentTargetEventTarget?

no setterinherited

data → dynamic

no setter

defaultPreventedbool

no setterinherited

eventPhaseint

no setterinherited

hashCodeint

The hash code for this object.

no setterinherited

isTrustedbool?

no setterinherited

lastEventIdString

no setter

matchingTargetElement

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

originString

no setter

pathList<EventTarget>

no setterinherited

portsList<MessagePort>

no setter

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

sourceEventTarget?

no setter

suboriginString?

no setter

targetEventTarget?

no setterinherited

timeStampnum?

no setterinherited

typeString

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