discontinuedPackage js_bindings has been discontinued and replaced by typings.

WindowEventHandlers class

The mixin describes the event handlers common to several interfaces like Window, or HTMLBodyElement and HTMLFrameSetElement. Each of these interfaces can implement additional specific event handlers.

Note: is a mixin and not an interface; you can't actually create an object of type .

Implementers
Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

WindowEventHandlers()
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
onafterprint ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onbeforeprint ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onbeforeunload ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
ongamepadconnected ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
ongamepaddisconnected ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onhashchange ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onlanguagechange ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onmessage ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onmessageerror ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onoffline ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
ononline ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onpagehide ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onpageshow ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onpopstate ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onportalactivate ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onrejectionhandled ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onstorage ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onunhandledrejection ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
onunload ↔ EventHandlerNonNull<Event>?

Available on WindowEventHandlers, provided by the PropsWindowEventHandlers extension

getter/setter pair
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