WindowEventHandlers class
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- WindowEventHandlers({dynamic onafterprint(Event)?, dynamic onbeforeprint(Event)?, dynamic onbeforeunload(BeforeUnloadEvent)?, dynamic ongamepadconnected(GamepadEvent)?, dynamic ongamepaddisconnected(GamepadEvent)?, dynamic onhashchange(HashChangeEvent)?, dynamic onlanguagechange(Event)?, dynamic onmessage(MessageEvent)?, dynamic onmessageerror(MessageEvent)?, dynamic onoffline(Event)?, dynamic ononline(Event)?, dynamic onpagehide(PageTransitionEvent)?, dynamic onpageshow(PageTransitionEvent)?, dynamic onpopstate(PopStateEvent)?, dynamic onrejectionhandled(PromiseRejectionEvent)?, dynamic onstorage(StorageEvent)?, dynamic onunhandledrejection(PromiseRejectionEvent)?, dynamic onunload(Event)?})
-
factory
Properties
-
addEventListener
→ ({void Function<
K$>(WindowEventHandlersEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
Overload accessor: $1, $2no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- onafterprint ↔ dynamic Function(Event)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onbeforeprint ↔ dynamic Function(Event)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onbeforeunload ↔ dynamic Function(BeforeUnloadEvent)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - ongamepadconnected ↔ dynamic Function(GamepadEvent)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - ongamepaddisconnected ↔ dynamic Function(GamepadEvent)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onhashchange ↔ dynamic Function(HashChangeEvent)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onlanguagechange ↔ dynamic Function(Event)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onmessage ↔ dynamic Function(MessageEvent)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onmessageerror ↔ dynamic Function(MessageEvent)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onoffline ↔ dynamic Function(Event)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - ononline ↔ dynamic Function(Event)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onpagehide ↔ dynamic Function(PageTransitionEvent)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onpageshow ↔ dynamic Function(PageTransitionEvent)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onpopstate ↔ dynamic Function(PopStateEvent)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onrejectionhandled ↔ dynamic Function(PromiseRejectionEvent)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onstorage ↔ dynamic Function(StorageEvent)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onunhandledrejection ↔ dynamic Function(PromiseRejectionEvent)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair - onunload ↔ dynamic Function(Event)?
-
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
MDN Referencegetter/setter pair -
removeEventListener
→ ({void Function<
K$>(WindowEventHandlersEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on WindowEventHandlers, provided by the WindowEventHandlers$Typings extension
Overload accessor: $1, $2no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited