tower-content
v0.1.0
Published
Tower Content
Downloads
9
Readme
Tower Content
Data for the DOM.
Installation
$ component install tower/content
Examples
var content = require('tower-content');
content('menu')
.attr('items', 'array')
.attr('selected', 'object')
.action('select', function(index){
this.selected = this.items[index];
});
content('menu').init({ items: [ 'a', 'b' ] }).select(1);
Notes
- http://en.wikipedia.org/wiki/Content_(media)
License
MIT