Dart
dart:html
History class
description
History class
Implemented types
HistoryBase
Annotations
@Native("History")
Properties
length
→
int
final
scrollRestoration
↔
String
read / write
state
→ dynamic
read-only
hashCode
→
int
The hash code for this object.
[...]
read-only, inherited
runtimeType
→
Type
A representation of the runtime type of the object.
read-only, inherited
Methods
back
(
)
→ void
override
forward
(
)
→ void
override
go
(
[
int
delta
])
→ void
override
pushState
(
dynamic
data
,
String
title
,
String
url
)
→ void
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), @SupportedBrowser(SupportedBrowser.IE, '10'), @SupportedBrowser(SupportedBrowser.SAFARI)
replaceState
(
dynamic
data
,
String
title
,
String
url
)
→ void
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), @SupportedBrowser(SupportedBrowser.IE, '10'), @SupportedBrowser(SupportedBrowser.SAFARI)
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a non-existent method or property is accessed.
[...]
inherited
toString
(
)
→
String
Returns a string representation of this object.
inherited
Operators
operator ==
(
dynamic
other
)
→
bool
The equality operator.
[...]
inherited
Static Properties
supportsState
→
bool
Checks if the State APIs are supported on the current platform.
[...]
read-only