Properties
Readonly
length
length: number
scrollRestoration
Readonly
state
state: any
Methods
back
- back(): void
-
Returns void
forward
- forward(): void
-
Returns void
go
- go(delta?: number): void
-
Returns void
pushState
- pushState(data: any, unused: string, url?: string | URL): void
-
Parameters
-
data: any
-
unused: string
-
Optional
url: string | URL
Returns void
replaceState
- replaceState(data: any, unused: string, url?: string | URL): void
-
Parameters
-
data: any
-
unused: string
-
Optional
url: string | URL
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.