constructor / initializenew View([options]) There are several special options that, if passed, will be attached directly to the view:
escapemodel.escape(attribute) Similar to get, but returns
getmodel.get(attribute) Get the current value of an attribute from the model. For example: note.get("title")
renderview.render() The default implementation of render is a no-op. Override this function with your code that renders the
setmodel.set(attributes, [options]) Set a hash of attributes (one or many) on the model. If any of the attributes change the model's
syncmodel.sync(method, model, [options]) Uses Backbone.sync
invoke
idmodel.id A special property of models, the id is an arbitrary string (integer id or UUID). If you set the id in the
parsecollection.parse(response, options) parse is called by Backbone whenever a collection's models are returned by the server
"add" (model, collection, options) â when a model is added to a collection.
Page 10 of 16