tower-content

Tower Content

npm install tower-content
5 downloads in the last week
17 downloads in the last month

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

License

MIT

npm loves you