Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/segment-boneyard/list
An abstraction for managing a list of views. Basically, List is to Collection as View is to Model.
https://github.com/segment-boneyard/list
Last synced: about 7 hours ago
JSON representation
An abstraction for managing a list of views. Basically, List is to Collection as View is to Model.
- Host: GitHub
- URL: https://github.com/segment-boneyard/list
- Owner: segment-boneyard
- Created: 2013-06-09T19:46:36.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-29T18:29:15.000Z (almost 11 years ago)
- Last Synced: 2024-04-09T16:31:11.268Z (7 months ago)
- Language: JavaScript
- Size: 363 KB
- Stars: 6
- Watchers: 39
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
README
# list
An abstraction for managing a list of views. Basically, List is to Collection as View is to Model.
## Installation
$ component install segmentio/list
## Example
```js
var list = require('list')
, ItemView = require('./item-view');// Later on...
var List = list(ItemView);var view = new List()
collection.each(view.add.bind(view));
```## License
MIT