HashHistory class

Extension of History that supports Legacy Browsers

This class extends all functionality of the base History class and adds extra functionality only supported in this variant.

Inheritance

Constructors

HashHistory({String basename: '', HashType hashType: HashType.slash, Confirmation getConfirmation, Window window })
Construct a HashHistory [...]

Properties

action Action
The current action
read-only, override
basename → String
Prefix added to paths if it isn't already included
read-only
hashType HashType
Character pattern that will be used for the hash [...]
read-only
isBlocking → bool
Whether or not this History is in blocking mode
read-only, override
length → int
The number of entries in the History list
read-only, override
location Location
The current location
read-only, override
onChange → Stream<HashHistory>
Stream of changes to this History list
read-only, override
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

block(dynamic prompt) → void
Enable blocking mode with the given prompt [...]
override
go(int n) → Future<Null>
Travel n entries forward or backward on the History list [...]
override
push(dynamic path, [ dynamic state ]) → Future<Null>
Push an entry (String or Location) on to the History list [...]
override
replace(dynamic path, [ dynamic state ]) → Future<Null>
Replace the current entry with a one (String or Location) on to the History list [...]
override
unblock() → void
Disable blocking mode [...]
override
goBack() → void
Travel to the previous entry on the History list (if it exists) [...]
inherited
goForward() → void
Travel to the next entry on the History list (if it exists) [...]
inherited
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