PushStateLocationService | @uirouter/react
Options
All
  • Public
  • Public/Protected
  • All
Menu

A LocationServices that gets/sets the current location using the browser's location and history apis

Uses history.pushState and history.replaceState

Hierarchy

Implements

Index

Constructors

constructor

Properties

_config

_history

_history: HistoryLike

_location

_location: LocationLike

fireAfterUpdate

fireAfterUpdate: boolean

Methods

Protected _get

  • _get(): string

_listener

  • _listener(evt: any): void

Protected _set

  • _set(state: any, title: string, url: string, replace: boolean): void

dispose

hash

  • hash(): any

onChange

  • onChange(cb: EventListener): (Anonymous function)

path

  • path(): any

search

  • search(): any

url

  • url(url?: string, replace?: boolean): string

Generated using TypeDoc