BackboneJS - View Remove - Backbone.js

Description

It is used to remove the view from the DOM and calls stopListening to remove any bound events that the view has listenTo'd.

Syntax

Example

Output

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

  • Save the above code in the remove.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