Adds additional handlers to the route.
Finds a handler.
If the navigation is handled already, it will throw an error.
Some properties of the context may be modified by the route handlers in this route.
provides the context for the matching.
to control the flow of navigation
true if the route was able to handle the context, false otherwise.
Generated using TypeDoc
Represents a route. Internally, it stores a chain of handlers.
The route can be matched against a path and the handlers will be called in order they appear in the constructor.
It also parses the path and stores the parameters in the param ({@link RouteContext#param}) field of a RouteContext instance.