83
Backbone.js view.remove()
The Backbone.js remove method is used to remove the view from the DOM. It calls stopListening to remove any bound events that the view has listenTo.
Syntax:
Let’s take an example.
See this example:
The Backbone.js remove method is used to remove the view from the DOM. It calls stopListening to remove any bound events that the view has listenTo.
Syntax:
Let’s take an example.
See this example: