PlatformLocation

Stable

Class

Class Overview

class PlatformLocation {
getBaseHrefFromDOM() : string
onPopState(fn: LocationChangeListener) : void
onHashChange(fn: LocationChangeListener) : void
pathname : string
search : string
hash : string
replaceState(state: any, title: string, url: string) : void
pushState(state: any, title: string, url: string) : void
forward() : void
back() : void

}

Class Description

Class Details

exported from @angular/common/index, defined in @angular/common/src/location/platform_location.ts