MockLocationStrategy
Class
stable
A mock implementation of LocationStrategy that allows tests to fire simulated
location events.
internalBaseHref
stringinternalPath
stringinternalTitle
stringurlChanges
string[]simulatePopState
void@paramurl
string@returns
voidpath
string@paramincludeHash
boolean@returns
stringprepareExternalUrl
string@paraminternal
string@returns
stringpushState
void@paramctx
any@paramtitle
string@parampath
string@paramquery
string@returns
voidreplaceState
void@paramctx
any@paramtitle
string@parampath
string@paramquery
string@returns
voidonPopState
void@paramfn
(value: any) => void@returns
voidgetBaseHref
string@returns
stringback
void@returns
voidforward
void@returns
voidgetState
unknown@returns
unknownhistoryGo
void@paramrelativePosition
number@returns
voidJump to details