Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface History

Allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.

Hierarchy

  • History

Index

Properties

Readonly length

length: number

scrollRestoration

scrollRestoration: ScrollRestoration

Readonly state

state: any

Methods

back

  • back(): void
  • Returns void

forward

  • forward(): void
  • Returns void

go

  • go(delta?: number): void
  • Parameters

    • Optional delta: 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

Generated using TypeDoc