An object responsible for routing.
The DevExtreme SPA framework comes with an integrated navigation system that allows you to navigate to views easily - by specifying the view name along with the associated parameters. To encode navigation information to a URI and then decode it from the URL fragments, routing rules must be defined in the application. The Router object allows you to register routing rules to be used for navigation. Use the Router's register() method to add a routing rule.
To learn more about routing rules, refer to the Declare a Routing topic.
This section describes the methods used to manipulate the application's navigation routing.
Formats an object to a URI.
Decodes the specified URI to an object using the registered routing rules.
|register(pattern, defaults, constraints)||
Adds a routing rule to the list of registered rules.
We appreciate your feedback.