A context provided to route data loaders.
Creates a new instance of a Router.
A context provided to route data loaders.
Router options.
If there's an interceptedController then it is made a rootController. No-op otherwise.
Returns the array of matched routes and extracted params for a given location.
The location to match.
Looks up a route in routes that matches a location, loads its data and notifies subscribers.
A location or a route to navigate to.
Navigate options.
Prefetches components and data of routes matched by a location.
A location or a route to prefetch.
An promise that can be aborted to discard prefetching.
Subscribes a listener to events published by a router.
A listener to subscribe.
A callback that unsubscribe a listener.
A context provided to route data loaders.
A component that is rendered when an error was thrown during route rendering.
A controller of the intercepted route, or null
if there's no intercepted route.
Readonly
isSSRtrue
if the router is used in the server environment.
What to render when a component or data are being loaded.
A component that is rendered when a route is being loaded.
The location of the latest router navigation.
A component that is rendered if notFound was called during route loading or rendering
Where the route is rendered.
A root controller rendered in a router Outlet, or null
if there's no matching route
or if navigation didn't occur yet.
Routes that a router can render.
A router that matches routes by a location.