0.0.1 • Published 11 years ago
tower-element v0.0.1
Tower Element
Installation
node.js:
$ npm install tower-element
browser:
$ component install tower-element
Example
var element = require('tower-element');
var html = require('./template');
element('paginator')
.template(html)
.action('prev', function(){
})
.action('next', function(){
});
Paginator template:
<ul>
<li class="prev" on-click="prev()"></li>
<li class="next" on-click="next()"></li>
</ul>
Licence
MIT
0.0.1
11 years ago