CollectionView manages a list of DOM elements using a Backbone.Collection - call orderDOMAccordingToCollection to synchronize the child elements of your view with options.collection. - Models that are in options.collection that do not correspond to di
npm install ordered-collection-viewoptions.collection - the collection that will be used to manage the list of elements in this.el
options.construct - optional - the constructor that will be used to build the views that are attached to this.el. Defaults to simple-view
options.constructOptions - optional - the options passed to options.construct when it is called. If it is a function, it is executed for each view that is constructed, with the current CollectionView as the context, and the model for the view as the first argument.
options.subTagName - the type of element that will be managed by the colleciton. Defaults to DIV
options.subTagClass - class(es) that will be added to the sub elements
options.deferInitialAdd - optional - defer appending the initial set of views to this.el until after this deferred has been resolved
options.progressive - optional - if true, will load items progressively as they are scrolled into view
##installation:
``sh`
npm install --save collection-view
##usage:
`js``
const collectionView = require('collection-view');