Go back to the previous entry in the history stack.
Does nothing if there is no previous entry.
Equivalent to calling history.go(-1)
.
Go forward to the next entry in the history stack.
Does nothing if there is no next entry.
Equivalent to calling history.go(1)
.
The position in the history to which you want to move, relative to the current page.
A negative value moves backwards, a positive value moves forwards.
So, for example,history.go(2)
moves forward two pages and history.go(-2)
moves back two pages.
If no value is passed or if delta equals 0, it has the same result as calling location.reload()
.
Push a new entry to the history stack with the given path and state.
Replace the path and the state of the current entry in the history stack.
Subscribe to all history events.
Subscribe to history events of the given type.
Generated using TypeDoc
A common interface for history implementations.