Optionaloptions: { fallback?: BaseRouteConfig }Protected ReadonlychildProtectedcurrentProtectedcurrentProtectedcurrentOptionalfallbackA default fallback route which will always be matched if none of the routes match. Implicitly matches to the path "/*".
Protected ReadonlyhostProtectedonCallback to call when this controller is disconnected.
It's critical to call this immediately in hostDisconnected so that this controller instance doesn't receive a tail match meant for another route.
ProtectedparentProtectedpreviousStatic ReadonlybaseStaticbaseProtected Static ReadonlyrouteProtected Static ReadonlyroutingThe current parsed route parameters.
ProtectedgetMatches url against the installed routes and returns the first match.
Navigates this routes controller to pathname.
This does not navigate parent routes, so it isn't (yet) a general page
navigation API. It does navigate child routes if pathname matches a
pattern with a tail wildcard pattern (/*).
Returns a URL string of the current route, including parent routes,
optionally replacing the local path with pathname.
Optionalpathname: stringProtectedonThe result of calling the current route's render() callback.
Staticwait
A reactive controller that performs location-based routing using a configuration of URL patterns and associated render callbacks.