History class
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.new()
-
factory
Properties
- back ↔ void Function()
-
Available on History, provided by the History$Typings extension
getter/setter pair - forward ↔ void Function()
-
Available on History, provided by the History$Typings extension
getter/setter pair - go ↔ void Function([num?])
-
Available on History, provided by the History$Typings extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- length → num
-
Available on History, provided by the History$Typings extension
MDN Referenceno setter - pushState ↔ void Function(String, dynamic, [dynamic])
-
Available on History, provided by the History$Typings extension
getter/setter pair - replaceState ↔ void Function(String, dynamic, [dynamic])
-
Available on History, provided by the History$Typings extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollRestoration ↔ ScrollRestoration
-
Available on History, provided by the History$Typings extension
MDN Referencegetter/setter pair - state → dynamic
-
Available on History, provided by the History$Typings extension
MDN Referenceno 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