Window class
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- Window()
-
factory
Properties
- addEventListener ↔ void Function(String, [Object?, Object?])
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair -
addEventListener
→ ({void Function<
K$ extends Event>(WindowEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on Window, provided by the Window$Typings extension
Overload accessor: $1, $2no setter - alert ↔ void Function([String?])
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - caches ↔ CacheStorage
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - close ↔ void Function()
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - closed → bool
-
Available on Window, provided by the Window$Typings extension
no setter - confirm ↔ bool Function([String?])
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - dispatchEvent ↔ bool Function(Event)
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- localStorage ↔ Storage
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - location ↔ Location
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - location$ ↔ dynamic
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - name ↔ String
-
Available on Window, provided by the Window$Typings extension
getter/setter pair -
Available on Window, provided by the Window$Typings extension
getter/setter pair -
Available on Window, provided by the Window$Typings extension
getter/setter pair - onbeforeunload ↔ dynamic Function(Event)?
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - onerror ↔ dynamic Function(ErrorEvent)?
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - onload ↔ dynamic Function(Event)?
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - onunhandledrejection ↔ dynamic Function(PromiseRejectionEvent)?
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - onunload ↔ dynamic Function(Event)?
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - prompt ↔ String? Function([String?, String?])
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - removeEventListener ↔ void Function(String, [Object?, Object?])
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair -
removeEventListener
→ ({void Function<
K$ extends Event>(WindowEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on Window, provided by the Window$Typings extension
Overload accessor: $1, $2no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → _Intersection46
-
Available on Window, provided by the Window$Typings extension
no setter - sessionStorage ↔ Storage
-
Available on Window, provided by the Window$Typings extension
getter/setter pair - window → _Intersection45
-
Available on Window, provided by the Window$Typings extension
no setter
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