PathLocationStrategy
Class
A LocationStrategy
used to configure the Location
service to
represent its state in the
path of the
browser's URL.
API
Description
Usage Notes
class PathLocationStrategy extends LocationStrategy implements OnDestroy {}
ngOnDestroy
void
@returns
void
onPopState
void
@returns
void
getBaseHref
string
@returns
string
prepareExternalUrl
string
@paraminternal
string
@returns
string
path
string
@paramincludeHash
boolean
@returns
string
pushState
void
@paramstate
any
@paramtitle
string
@paramurl
string
@paramqueryParams
string
@returns
void
replaceState
void
@paramstate
any
@paramtitle
string
@paramurl
string
@paramqueryParams
string
@returns
void
forward
void
@returns
void
back
void
@returns
void
getState
unknown
@returns
unknown
historyGo
void
@paramrelativePosition
number
@returns
void
Jump to details