Backbone.js Event stopListening()

Backbone.js event stopListening method:

Syntax:

Parameter explanation:

other: It is used to define the name of the other object.

event: It is used to bind an object.

callback: It is reference to the code and called with object as context.

Let's take an example.

See this example:

Test it Now

Output:

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

BackboneJS Event Stoplistening Method



Latest Courses