PlatformLocation

export class PlatformLocation

exported from angular2/router defined in angular2/src/router/platform_location.ts (line 3)

PlatformLocation encapsulates all of the direct calls to platform APIs. This class should not be used directly by an application developer. Instead, use Location.

Annotations

@Injectable()

Constructor

constructor()

Not Yet Documented

Members

getBaseHrefFromDOM() : string

Not Yet Documented

onPopState(fn: EventListener) : void

Not Yet Documented

onHashChange(fn: EventListener) : void

Not Yet Documented

pathname : string

Not Yet Documented

Not Yet Documented

hash : string

Not Yet Documented

pushState(state: any, title: string, url: string) : void

Not Yet Documented

replaceState(state: any, title: string, url: string) : void

Not Yet Documented

forward() : void

Not Yet Documented

back() : void

Not Yet Documented