Javatpoint Logo
Javatpoint Logo

Backbone.js Event off()

The event off method removes callback functions or all events from an object.

Syntax:

Parameter explanation:

event: It is used to bind an object.

callback: It is executed whenever an event is fired. It references to the code.

context: It is an object that can be passed to a callback function.

Let's take an example.

See this example:

Test it Now

Output:

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

BackboneJS Event off Method




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