Top "Backbone-views" questions

Views in the Backbone.

Backbone view click checkbox listener

<!DOCTYPE HTML > <html> <head> <meta charset="UTF-8"> <title>Title</…

backbone.js backbone-views backbone-events
Backbone.js view instance variables?

I'm learning Backbone.js and am trying to figure out whether it's possible to have instance variables in Backbone views. …

javascript jquery backbone.js backbone-views
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
In Backbone this.model is undefined, why?

I've looked everywhere for an answer but wasn't satisfied with what I've found. The issue is, I'm doing a tutorial …

javascript backbone.js backbone-views
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
How do you dynamically create Backbone view elements?

I'd like to create some view elements in a Backbone js application dynamically. When a new view is initialized, I …

javascript backbone.js backbone-views
Setting dynamic css-style properties of a Backbone.View

I'm trying to set the height, width and background image of a <ul> element. Here's what I've got …

javascript backbone.js backbone-views
Error while creating a backbone.js view - Expecting a function in instanceof check, but got [object Object]

I am trying to create a simple backbone.js view with the following code: <!DOCTYPE HTML> <html&…

jquery backbone.js backbone-views
Backbone view, initialize and render

I have a backbone view which load subview. When I load a subview, I would like to show a loader …

backbone.js backbone-views