Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Making the collection-proxies-model-events a bit more clear
  • Loading branch information
jashkenas committed Dec 17, 2010
1 parent c644866 commit 2610593
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions index.html
Expand Up @@ -940,8 +940,11 @@ <h2 id="Collection">Backbone.Collection</h2>
</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">
Expand Down

0 comments on commit 2610593

Please sign in to comment.