Javatpoint Logo
Javatpoint Logo

Backbone.js delegateEvents()

The Backbone.js undeligateEvent method is used to remove delegated events of the view from the DOM.

Syntax:

Let's take an example.

See this example:

Test it Now

Output:

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

BackboneJS has Model1

After clicking, you will get the following result:

BackboneJS has Model2




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