Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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