Javatpoint Logo
Javatpoint Logo

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:

Test it Now

Output:

Save the above code in initialize.html file and open this file in a new browser.

BackboneJS initialize Model
Next TopicBackbone.js Route





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA