Skip to content

@serenity-is/corelib / Router

Variable: Router

const Router: IClassicRouter

Defined in: src/compat/router.ts:488

Singleton instance of the legacy hash router. Compat shim for the global Q.Router / Serenity.Router. Initialized at module load and wired to hashchange and dialog events.

Deprecated

Prefer not to use hash-based dialog routing in new code. Kept for legacy pages that rely on Router.resolve() / Router.navigate().