CompositeView
Marionette.CompositeView
DEPRECATED: CompositeView
is deprecated. See CollectionView to see how to build equivalent views in Marionette 3
A CompositeView
extends from CollectionView
to be used as a composite view for scenarios where it should represent both a branch and leaf in a tree structure, or for scenarios where a collection needs to be rendered within a wrapper template. By default the CompositeView
will maintain a sorted collection's order in the DOM. This behavior can be disabled by specifying {sort: false}
on initialize.
Please see the Marionette.CollectionView documentation for more information on available features and functionality.