Google News
logo
Backbone - Interview Questions
What is Backbone events ?
Backbone.js event can be defined as the module which can be mixed with any object. There are following methods which are used to manipulate Backbone.js events,
 
on - It binds an event to an object and executes the callback whenever an event is fired.
off - It removes callback functions or all events from an object.
trigger - It invokes the callback functions for the given events.
once - It extends the backbone model class while creating your own backbone model.
listenTo - It informs one object to listen to an event on another object.
stopListening - It can be used to stop listening to events on the other objects.
listenToOnce - It causes the listener, to occur only once before the callback function is being removed.
Advertisement