An open API service indexing awesome lists of open source software.

https://github.com/lovetingyuan/asnow

A simple UI library(WIP).
https://github.com/lovetingyuan/asnow

Last synced: 3 months ago
JSON representation

A simple UI library(WIP).

Awesome Lists containing this project

README

        

## asnow

A simple UI library(WIP).

example:
```javascript
import { render, update } from 'asnow'

class HelloWorld {
static template = `

Hello world


`
}

class Counter {
constructor (props) {
this.count = props.init || 0
}
static components = { HelloWorld }
static template = `



Counter: { count } add

`
onAdd () {
update(this, {
count: this.count + 1
})
}
}

render(Counter, '#app')
```