track-view
v0.0.4
Published
View of track.
Downloads
2
Readme
TrackComponent
View for track.
Installation
npm
npm install track-view
Usage
const TrackView = require('track-view');
class Hoge extends TrackView {
render(_yield) {
this.c; // Instance of component.
this.t; // Wrapper I18n.t.
this.vm; // ViewModel.
this.attrs; // Attributes.
return m('div', [
m('h1', 'Hello!'),
yield
]);
}
}