Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ServerHistory

An implementation of the History interface.

name

ServerHistory

Hierarchy

  • ServerHistory

Implements

  • History

Index

Constructors

constructor

Properties

Private _index

_index: number = 0

Private _states

_states: { state: any; url: string }[]

Private location

location: Location

scrollRestoration

scrollRestoration: ScrollRestoration = "auto"

Accessors

Private index

  • get index(): number
  • set index(value: number): void

length

  • get length(): number

state

  • get state(): any

Methods

back

  • back(): void

forward

  • forward(): void

go

  • go(quanity?: number): void

pushState

  • pushState(state: any, _: string | null, url: string): void

replaceState

  • replaceState(state: any, _: string | null, url: string): void

Generated using TypeDoc