BackboneJS - View Extend - Backbone.js

Description

It extends the Backbone.View class to create a custom view class.

Syntax

Parameters

  • properties − It provides instance properties for the view class.
  • classProperties − The classProperties attached to the view's constructor function.

Example

Output

Let us carry out the following steps to see how the above code works −

  • Save the above code in the extend.htm file.
  • Open this HTML file in a browser.

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

Backbone.js Topics