PlatformLocation
Class
This class should not be used directly by an application developer. Instead, use
Location
.
API
Description
abstract class PlatformLocation {}
getBaseHrefFromDOM
string
@returns
string
getState
unknown
@returns
unknown
onPopState
VoidFunction
Returns a function that, when executed, removes the popstate
event handler.
@returns
VoidFunction
onHashChange
VoidFunction
Returns a function that, when executed, removes the hashchange
event handler.
@returns
VoidFunction
href
string
protocol
string
hostname
string
port
string
pathname
string
search
string
hash
string
replaceState
void
@paramstate
any
@paramtitle
string
@paramurl
string
@returns
void
pushState
void
@paramstate
any
@paramtitle
string
@paramurl
string
@returns
void
forward
void
@returns
void
back
void
@returns
void
historyGo
void
@paramrelativePosition
number
@returns
void
Jump to details