CustomEvent class abstract
A custom event with arbitrary detail data.
See: https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent
- Implemented types
Constructors
Properties
- bubbles → bool
-
Whether the event bubbles up through the DOM.
no setterinherited
- cancelable → bool
-
Whether the event can be cancelled.
no setterinherited
- currentTarget → EventTarget?
-
The target whose event listener is currently being invoked.
no setterinherited
- detail → Object?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- raw → dynamic
-
The underlying platform object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target → EventTarget?
-
The target to which the event was dispatched.
no setterinherited
- type → String
-
The type of the event (e.g., 'click', 'input').
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
preventDefault(
) → void -
Cancels the event's default action.
inherited
-
stopImmediatePropagation(
) → void -
Stops propagation and prevents other listeners on the same target.
inherited
-
stopPropagation(
) → void -
Stops further propagation of the event.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited