mobjs
a view layer that mob.
Last updated 4 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mobjs 
SYNC missed versions from official npm registry.

mob.js

Install

$ npm install --save mobjs

Usage

import {view, mount} from 'mobjs'

view({
  data() {
    return {
      count: 0
    }
  },
  click() {
    this.set('count', this.count + 1)
  },
  render(h) {
    return h(
      'div#count',
      {on: {click: this.click}}
      this.count
    )
  }
})

mount(view(), '#app')

License

MIT © EGOIST

Current Tags

  • 0.0.2                                ...           latest (4 years ago)

2 Versions

  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |