Extends views.Base
See Also bindable.Collection, models.Collection

Creates a list of views which is represented by an array, or bindable.Collection.


npm install mojo-views --save-exact


The source of the list. This can be an array, or bindable.Collection (recommended). The list view creates, and appends a new instance of modelViewClass for each item in the list. Also note that the source can be a reference to a source, or a property which defines the source.


The view class that's created for each model in source. Note that the property model is set to each listed view, as shown in the example above.

sort(modelA, modelB)

The sorting function for the list


Filters models from the list