Properties
length
length: number
scrollRestoration
state
state: any
Methods
back
-
Returns void
forward
-
Returns void
go
- go(delta?: undefined | number): void
-
Parameters
-
Optional delta: undefined | number
Returns void
pushState
- pushState(data: any, title: string, url?: string | null): void
-
Parameters
-
data: any
-
title: string
-
Optional url: string | null
Returns void
replaceState
- replaceState(data: any, title: string, url?: string | null): void
-
Parameters
-
data: any
-
title: string
-
Optional url: string | null
Returns void
Allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.