0.0.4 • Published 6 years ago

track-view v0.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

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
    ]);
  }
}
0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago