Readonly
baseThe base URL for the router.
Readonly
commandsThe command registry used by the router.
Readonly
currentThe parsed current URL of the application.
Readonly
routedA signal emitted when the router routes a route.
Readonly
stopIf a matching rule's command resolves with the stop
token during routing,
no further matches will execute.
Navigate to a new path within the application.
The new path or empty string if redirecting to root.
Optional
options: INavOptionsThe navigation options.
Register a rule that maps a path pattern to a command.
The route registration options.
A disposable that removes the registered rule from the router.
A static class that routes URLs within the application.