Skip to content

StreetYang/cieaf_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cieaf_app

a reactive element creater

安装

> npm i cieaf_app

使用

import { h, createApp } from 'cieaf_app'

const el = document.getElementById('app');

const main = app => h`
    <a @click=${() => app.count++}>${app.count}</a>
    `;

createApp(el, main, { count: 0 });

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published