@serenity-is/corelib / ClassicRouter
Class: ClassicRouter
Defined in: src/compat/router.ts:25
Implements
Constructors
Constructor
new ClassicRouter():
ClassicRouter
Defined in: src/compat/router.ts:383
Returns
ClassicRouter
Properties
enabled
enabled:
boolean=true
Defined in: src/compat/router.ts:33
Implementation of
mightBeRouteRegex
mightBeRouteRegex:
RegExp
Defined in: src/compat/router.ts:185
Implementation of
IClassicRouter.mightBeRouteRegex
Methods
destroy()
destroy():
void
Defined in: src/compat/router.ts:401
Returns
void
Implementation of
dialog()
dialog(
owner,element,dialogHash):void
Defined in: src/compat/router.ts:171
Parameters
owner
HTMLElement | ArrayLike<HTMLElement>
element
HTMLElement | ArrayLike<HTMLElement>
dialogHash
() => string
Returns
void
Implementation of
ignoreHashChange()
ignoreHashChange(
expiration?):void
Defined in: src/compat/router.ts:309
Parameters
expiration?
number
Returns
void
Implementation of
IClassicRouter.ignoreHashChange
navigate()
navigate(
newHash,tryBack?,silent?):void
Defined in: src/compat/router.ts:39
Parameters
newHash
string
tryBack?
boolean
silent?
boolean
Returns
void
Implementation of
replace()
replace(
newHash,tryBack?):void
Defined in: src/compat/router.ts:66
Parameters
newHash
string
tryBack?
boolean
Returns
void
Implementation of
replaceLast()
replaceLast(
newHash,tryBack?):void
Defined in: src/compat/router.ts:70
Parameters
newHash
string
tryBack?
boolean
Returns
void
Implementation of
resolve()
resolve(
newHash?):"disabled"|"skipped"|"shebang"|"missinghandler"|"calledhandler"
Defined in: src/compat/router.ts:187
Parameters
newHash?
string
Returns
"disabled" | "skipped" | "shebang" | "missinghandler" | "calledhandler"