77
Backbone.js router.navigate()
The Backbone.js navigate method is used to update and save the application as URL. It can also be done by calling the route function.
Syntax:
Parameter explanation:
fragment: It specifies the name of the parameter in which URL will be displayed.
options: It specifies the options such as trigger and replace to call the route function and to update the URL.
Let’s take an example.
See this example: