fendjs-collection
v0.0.3
Published
Enumerable data model collections for Fend.js
Downloads
7
Readme
fendjs-collection
Enumerable data model collections, with all Enumerable methods available.
Installation
$ component install Frapwings/fendjs-collection
API
Collection([models])
Initialize a new collection with the given models
.
Collection#length()
Return the collection length.
Collection#push(model:Object)
Add model
to the collection and return the index.
License
See the LICENSE
.