MockPlatformLocation
Class
Mock implementation of URL state.
API
class MockPlatformLocation implements PlatformLocation {}
hostname
string
protocol
string
port
string
pathname
string
search
string
hash
string
state
unknown
getBaseHrefFromDOM
string
@returns
string
onPopState
VoidFunction
@returns
VoidFunction
onHashChange
VoidFunction
@returns
VoidFunction
href
string
url
string
replaceState
void
@paramstate
any
@paramtitle
string
@paramnewUrl
string
@returns
void
pushState
void
@paramstate
any
@paramtitle
string
@paramnewUrl
string
@returns
void
forward
void
@returns
void
back
void
@returns
void
historyGo
void
@paramrelativePosition
number
@returns
void
getState
unknown
@returns
unknown
Jump to details