mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-08 03:00:26 -04:00
Fixes #732
This commit is contained in:
@@ -2657,8 +2657,8 @@ var model = localBackbone.Model.extend(...);
|
||||
<li><b>"add"</b> (model, collection) — when a model is added to a collection. </li>
|
||||
<li><b>"remove"</b> (model, collection) — when a model is removed from a collection. </li>
|
||||
<li><b>"reset"</b> (collection) — when the collection's entire contents have been replaced. </li>
|
||||
<li><b>"change"</b> (model, collection) — when a model's attributes have changed. </li>
|
||||
<li><b>"change:[attribute]"</b> (model, collection) — when a specific attribute has been updated. </li>
|
||||
<li><b>"change"</b> (model, options) — when a model's attributes have changed. </li>
|
||||
<li><b>"change:[attribute]"</b> (model, value, options) — when a specific attribute has been updated. </li>
|
||||
<li><b>"destroy"</b> (model, collection) — when a model is <a href="#Model-destroy">destroyed</a>. </li>
|
||||
<li><b>"error"</b> (model, collection) — when a model's validation fails, or a <a href="#Model-save">save</a> call fails on the server. </li>
|
||||
<li><b>"route:[name]"</b> (router) — when one of a router's routes has matched. </li>
|
||||
|
||||
Reference in New Issue
Block a user