Making the collection-proxies-model-events a bit more clear

This commit is contained in:
Jeremy Ashkenas
2010-12-17 18:02:45 -05:00
parent c644866b4f
commit 261059356c

View File

@@ -940,8 +940,11 @@ bill.set({name : "Bill Jones"});
</p>
<p>
Collections may also listen for changes to specific attributes in their
models, for example: <tt>Documents.bind("change:selected", ...)</tt>
Any event that is triggered on a model in a collection will also be
triggered on the collection directly, for convenience.
This allows you to listen for changes to specific attributes in any
model in a collection, for example:
<tt>Documents.bind("change:selected", ...)</tt>
</p>
<p id="Collection-extend">