PushStateLocationService | ui-router-ng2
Options
Menu

Class PushStateLocationService

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

Properties

_history: HistoryLike
_location: LocationLike
fireAfterUpdate: boolean

Methods

  • _get(): string
  • _listener(evt: any): void
  • _set(state: any, title: string, url: string, replace: boolean): void
  • hash(): any
  • onChange(cb: EventListener): (Anonymous function)
  • path(): any
  • search(): any
  • url(url?: string, replace?: boolean): string

Generated using TypeDoc