BackboneJS - Router
Router is used for routing the client side applications and defines the URL representation of the application's object. A router is required when web applications provide linkable, bookmarkable and shareable URL's for important locations in the app.
The following table lists down the methods which can be used to manipulate the BackboneJS - Router −
|S.No.||Methods & Description|
It extends the backbone's router class.
It defines the URL representation of applications objects.
It creates a new constructor for the router instantiation.
It creates a route for the router.
It is used to update the URL in the applications.
It is used when a route matches its corresponding callback.