PathLocationStrategy

PathLocationStrategy

Stable Class

What it does

Use URL for storing application location data.

Class Overview

class PathLocationStrategy extends LocationStrategy {
  constructor(_platformLocation: PlatformLocation, href?: string)
  
  
  onPopState(fn: LocationChangeListener) : void
  getBaseHref() : string
  prepareExternalUrl(internal: string) : string
  path(includeHash?: boolean) : string
  pushState(state: any, title: string, url: string, queryParams: string)
  replaceState(state: any, title: string, url: string, queryParams: string)
  forward() : void
  back() : void
}