error event
  • References/JavaScript/Backbone/Events

"error" (model_or_collection, response, options) â when a model's or collection's request to the server has failed.

2025-01-10 15:47:30
view.
  • References/JavaScript/Backbone/View

$elview.$el A cached jQuery object for the view's element. A handy reference instead of re-wrapping the DOM element all the time

2025-01-10 15:47:30
view.delegateEvents
  • References/JavaScript/Backbone/View

delegateEventsdelegateEvents([events]) Uses jQuery's on function to provide declarative callbacks for DOM events within

2025-01-10 15:47:30
collection.create
  • References/JavaScript/Backbone/Collection

createcollection.create(attributes, [options]) Convenience to create a new instance of a model within a collection. Equivalent to

2025-01-10 15:47:30
collection.reduce
  • References/JavaScript/Backbone/Collection

reduce (foldl, inject)

2025-01-10 15:47:30
collection.shift
  • References/JavaScript/Backbone/Collection

shiftcollection.shift([options]) Remove and return the first model from a collection. Takes the same options as

2025-01-10 15:47:30
router.execute
  • References/JavaScript/Backbone/Router

executerouter.execute(callback, args, name) This method is called internally within the router, whenever a route matches and its

2025-01-10 15:47:30
router.navigate
  • References/JavaScript/Backbone/Router

navigaterouter.navigate(fragment, [options]) Whenever you reach a point in your application that you'd like to save as a URL, call

2025-01-10 15:47:30
Backbone.ajax
  • References/JavaScript/Backbone/Sync

ajaxBackbone.ajax = function(request) { ... }; If you want to use a custom AJAX function, or your endpoint doesn't support the

2025-01-10 15:47:30
collection.rest
  • References/JavaScript/Backbone/Collection

rest (tail, drop)

2025-01-10 15:47:30