export class 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()
@Injectable()
Constructor
constructor()
constructor()
Not Yet Documented
Members
getBaseHrefFromDOM() : string
getBaseHrefFromDOM() : string
Not Yet Documented
onPopState(fn: EventListener) : void
onPopState(fn: EventListener) : void
Not Yet Documented
onHashChange(fn: EventListener) : void
onHashChange(fn: EventListener) : void
Not Yet Documented
pathname : string
pathname : string
Not Yet Documented
search : string
search : string
Not Yet Documented
hash : string
hash : string
Not Yet Documented
pushState(state: any, title: string, url: string) : void
pushState(state: any, title: string, url: string) : void
Not Yet Documented
replaceState(state: any, title: string, url: string) : void
replaceState(state: any, title: string, url: string) : void
Not Yet Documented
forward() : void
forward() : void
Not Yet Documented
back() : void
back() : void
Not Yet Documented