new Collection(ItemModel [, array])
Create a new Collection
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
ItemModel |
function | The class to use as the model for each item in the collection |
||
array |
Array |
<optional> |
[] | The array to instantiate the Collection with |
Extends
- Array