Top "Backbone-events" questions

This is for backbone.

Backbone View: Inherit and extend events from parent

Backbone's documentation states: The events property may also be defined as a function that returns an events hash, to make …

javascript backbone.js backbone-events
Backbone.js - using trigger to trigger event and pass data

I'm writing a tab menu component using backbone.js as an MVC framework. When a user clicks on a tab, …

javascript backbone.js backbone-events
Backbone model.destroy(): Is explicit removal from collection necessary?

I have a simple question. I am looking at a function with 2 lines of code: deleteTask: function() { this.parent.collection.…

backbone.js backbone-events
Binding Backbone change event to attribute of model in a collection

I have a view that takes a collection like below: MyView = Backbone.View.extend({ initialize: function() { this.collection.on("change://…

backbone.js backbone-events
Button Onclick event and backbone.js view

I current have an html file with the following: <div class="button1"> <button class="first" id="up" …

javascript backbone.js backbone-views backbone-events
Backbone JS: can one view trigger updates in other views?

In my simple project I have 2 views - a line item view (Brand) and App. I have attached function that …

javascript backbone.js backbone-events backbone-views
Passing arguments to events in backbone

First of all, I did some search and no answer on stackoverflow/google provided me the thing I wanted. Here's …

javascript events backbone.js backbone-events
Collection add event listener in Backbone

I am trying to update my view whenever I add a new model to my collection. My first question is …

javascript jquery backbone.js backbone-events backbone.js-collections
How do I get backbone to bind the submit event to a form?

I'm using the following code to create the view: LoginForm = Backbone.View.extend({ tagName :"form" ,id : "login-form" ,className :"navbar-form" ,initialize: …

backbone.js backbone-views backbone-events
delegateEvents in backbone.js

Can anyone please explain me what delegateEvents in backbone.js does? The documentation did not help me to understand. My …

backbone.js backbone-events