MockLocationStrategy

MockLocationStrategy

Stable Class

Class Overview

class MockLocationStrategy extends LocationStrategy {
  constructor()
  
  
  internalBaseHref : string
  internalPath : string
  internalTitle : string
  urlChanges : string[]
  simulatePopState(url: string) : void
  path(includeHash?: boolean) : string
  prepareExternalUrl(internal: string) : string
  pushState(ctx: any, title: string, path: string, query: string) : void
  replaceState(ctx: any, title: string, path: string, query: string) : void
  onPopState(fn: (value: any) => void) : void
  getBaseHref() : string
  back() : void
  forward() : void
}

Class Description

A mo