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

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

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

doc_Angular
2016-10-06 09:46:51
Comments
Leave a Comment

Please login to continue.