tower-content

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i tower-content

Weekly Downloads

5

Version

0.1.0

License

MIT

Last publish

Collaborators

  • viatropos