History class

The interface allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

History()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
length int

Available on History, provided by the PropsHistory extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollRestoration ScrollRestoration

Available on History, provided by the PropsHistory extension

getter/setter pair
state → dynamic

Available on History, provided by the PropsHistory extension

no setter

Methods

back() → void

Available on History, provided by the PropsHistory extension

forward() → void

Available on History, provided by the PropsHistory extension

go([int? delta = 0]) → void

Available on History, provided by the PropsHistory extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pushState(dynamic data, String unused, [String? url]) → void

Available on History, provided by the PropsHistory extension

replaceState(dynamic data, String unused, [String? url]) → void

Available on History, provided by the PropsHistory extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited