Home » Backbone.js new Router()

Backbone.js new Router()

by Online Tutorials Library

Backbone.js Router Constructor

The Backbone.js constructor or initialize method is used to create a new constructor for the router installation.

Syntax:

Parameter explanation:

options: It specifies the value that is passed to initialize function.

Let’s take an example.

See this example:

You may also like