extendBackbone.View.extend(properties, [classProperties]) Get started with views by creating a custom view class. You'll want to
elview.el All views have a DOM element at all times (the el property), whether they've already been inserted into the page
attributesview.attributes A hash of attributes that will be set as HTML DOM element attributes on the view's el (id
$ (jQuery)view.$(selector) If jQuery is included on the page, each view has a $ function that runs queries scoped within the
removeview.remove() Removes a view and its el from the DOM, and calls
constructor / initializenew View([options]) There are several special options that, if passed, will be attached directly to the view:
renderview.render() The default implementation of render is a no-op. Override this function with your code that renders the
setElementview.setElement(element) If you'd like to apply a Backbone view to a different DOM element, use setElement, which
$elview.$el A cached jQuery object for the view's element. A handy reference instead of re-wrapping the DOM element all the time
undelegateEventsundelegateEvents() Removes all of the view's delegated events. Useful if you want to disable or remove a view from
Page 1 of 2