PlatformLocation

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

This class should not be used directly by an application developer. Instead, use Location.

PlatformLocation登录查看完整内容