0.1.0 • Published 11 years ago

tower-content v0.1.0

Weekly downloads
2
License
-
Repository
-
Last release
11 years ago

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