BackboneJS Router - Backbone.js

What is BackboneJS Router?

Router is used for routing the client side applications and describes the URL representation of the application's object. A router is mandatory when web applications offer linkable, bookmarkable and shareable URL's for important locations in the app.

The resulting table lists down the methods which can be used to manipulate the BackboneJS - Router −

S.No.

Methods & Description

1

extend

It extends the backbone's router class.

2

routes

It defines the URL representation of applications objects.

3

initialize

It creates a new constructor for the router instantiation.

4

route

It creates a route for the router.

5

navigate

It is used to update the URL in the applications.

6

execute

It is used when a route matches its corresponding callback.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Backbone.js Topics