Top "Backbone-events" questions

This is for backbone.

select2-selecting event not getting fired

I am using Select2 in my website, and I'm trying to use the select2-selecting event, but its not firing. …

javascript jquery backbone.js jquery-select2 backbone-events
Backbone Custom Events

Let's say I have two views (paginationview and postsview) and a collection (postscollection). Whenever the .next button is clicked in …

javascript backbone.js backbone-views backbone-events
Capture scroll event on div

I'm trying to capture the scroll event within a Backbone.Marionette.CompositeView, but without success. As an exercise, I'm rewriting …

backbone.js backbone-events marionette
Backbone event firing on click OR press enter

I am new to backbone and I am looking for a way for my button to be triggered when I …

javascript jquery backbone.js backbone-events
Backbone.js: How do I force the View to automatically refresh when changing a models collection

So I have a View that looks like this. //base class var SelectListView = Backbone.View.extend({ initialize: function() { _.bindAll(this, …

backbone.js backbone-events
How to get attributes from the clicked element in backbone event?

Here is my basic backbone view for changing routes. I would like to get the href attribute of the clicked …

backbone.js backbone-views backbone-events
Backbone trigger two methods in one event

I am using Backbone and I have a view with events defined: .... events: { 'click .search-button': 'setModelTerm', 'change .source-select': 'setModelSourceId', 'change .…

backbone.js backbone-views backbone-events
Backbone: event lost in re-render

I have super-View who is in charge of rendering sub-Views. When I re-render the super-View all the events in the …

javascript-events backbone.js backbone-events
Backbone router events

Does in Backbone.Router exists the events both before and after performing routing? My app works with jQuery.mobile and …

javascript backbone.js backbone-events
Backbone.js listenTo window resize throwing [object Object] has no method 'apply' error

Problem: I'm trying to attach a resize event to the window from a view using the new listenTo() method in …

backbone.js backbone-events