MessageEvent class
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? read-only, inherited
- cancelable → bool? read-only, inherited
- composed → 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
- The hash code for this object. [...]
- isTrusted → bool? read-only, inherited
- lastEventId → String @Unstable(), read-only
- matchingTarget → Element 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.
- origin → String read-only
- path → List<
EventTarget> read-only, inherited - ports → List<
MessagePort> @Creates('JSExtendableArray'), @Unstable(), read-only - runtimeType → Type read-only, inherited
- A representation of the runtime type of the object.
- source → EventTarget? read-only
- suborigin → String? read-only
- target → EventTarget? read-only, inherited
- timeStamp → num? read-only, inherited
- type → String read-only, inherited
Methods
- composedPath(
) → List< EventTarget> inherited - noSuchMethod(
Invocation invocation) → dynamic inherited - Invoked when a non-existent method or property is accessed. [...]
- preventDefault(
) → void inherited - stopImmediatePropagation(
) → void inherited - stopPropagation(
) → void inherited - toString(
) → String inherited - A string representation of this object. [...]
Operators
- operator ==(
Object other) → bool inherited - The equality operator. [...]
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/MessageEvent-class.html