Home » Backbone.js View.extend()

Backbone.js View.extend()

by Online Tutorials Library

Backbone.js View.extend()

The Backbone.js view extend method is used to extend the Backbone.js view class to create a custom view.

Syntax:

Parameter explanation:

properties: It specifies instance properties for the view class .

classProperties: It specifies classProperties attached to the view’s constructor function.

Let’s take an example.

See this example:

You may also like