Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface History

Package version

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

length

length: number

scrollRestoration

scrollRestoration: ScrollRestoration

state

state: any

Methods

back

  • back(): void
  • Returns void

forward

  • forward(): void
  • 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

Generated using TypeDoc