Add some additional features to RB.CollectionView.
Review Request #7837 — Created Dec. 28, 2015 and submitted — Latest diff uploaded
This change adds a few new things to
RB.CollectionView:
- The view will properly respond when the collection is reset.
- The view will reorder DOM elements for sorted collections.
- TheitemViewTypecan be passed in as an option at construction time, rather
than requiringCollectionViewto be extended.
- A newitemViewOptionsmember allows options to be plumbed through to the
individual item views.
Used these features in another change (in Power Pack).