Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IHistory

Hierarchy

Implemented by

Index

Properties

History

History: { constructor: any; prototype: History }

Type declaration

  • constructor: function
    • Returns History

  • prototype: History

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?: 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