Note options parameter for add/remove/reset in Catalog of Events.

This commit is contained in:
Robert Hencke
2012-06-18 07:57:36 -05:00
parent 9f9028bfab
commit faeca244a2

View File

@@ -3261,9 +3261,9 @@ var model = localBackbone.Model.extend(...);
</p>
<ul class="small">
<li><b>"add"</b> (model, collection) &mdash; when a model is added to a collection. </li>
<li><b>"remove"</b> (model, collection) &mdash; when a model is removed from a collection. </li>
<li><b>"reset"</b> (collection) &mdash; when the collection's entire contents have been replaced. </li>
<li><b>"add"</b> (model, collection, options) &mdash; when a model is added to a collection. </li>
<li><b>"remove"</b> (model, collection, options) &mdash; when a model is removed from a collection. </li>
<li><b>"reset"</b> (collection, options) &mdash; when the collection's entire contents have been replaced. </li>
<li><b>"change"</b> (model, options) &mdash; when a model's attributes have changed. </li>
<li><b>"change:[attribute]"</b> (model, value, options) &mdash; when a specific attribute has been updated. </li>
<li><b>"destroy"</b> (model, collection) &mdash; when a model is <a href="#Model-destroy">destroyed</a>. </li>