model.values
  • References/JavaScript/Backbone/Model

values

2025-01-10 15:47:30
model.parse
  • References/JavaScript/Backbone/Model

parsemodel.parse(response, options) parse is called whenever a model's data is returned by the server, in

2025-01-10 15:47:30
model.sync
  • References/JavaScript/Backbone/Model

syncmodel.sync(method, model, [options]) Uses Backbone.sync

2025-01-10 15:47:30
model.get
  • References/JavaScript/Backbone/Model

getmodel.get(attribute) Get the current value of an attribute from the model. For example: note.get("title")

2025-01-10 15:47:30
model.fetch
  • References/JavaScript/Backbone/Model

fetchmodel.fetch([options]) Merges the model's state with attributes fetched from the server by delegating to

2025-01-10 15:47:30
model.clone
  • References/JavaScript/Backbone/Model

clonemodel.clone() Returns a new instance of the model with identical attributes.

2025-01-10 15:47:30
model.toJSON
  • References/JavaScript/Backbone/Model

toJSONmodel.toJSON([options]) Return a shallow copy of the model's

2025-01-10 15:47:30
model.set
  • References/JavaScript/Backbone/Model

setmodel.set(attributes, [options]) Set a hash of attributes (one or many) on the model. If any of the attributes change the model's

2025-01-10 15:47:30
model.unset
  • References/JavaScript/Backbone/Model

unsetmodel.unset(attribute, [options]) Remove an attribute by deleting it from the internal attributes hash. Fires a "change"

2025-01-10 15:47:30
model.id
  • References/JavaScript/Backbone/Model

idmodel.id A special property of models, the id is an arbitrary string (integer id or UUID). If you set the id in the

2025-01-10 15:47:30