文件名称:ponent:另一个功能性的UI库
文件大小:7KB
文件格式:ZIP
更新时间:2024-06-02 20:25:34
JavaScript
ponent 另一个功能性的UI库 演示版 npm run demos 计数器按钮 const render = require ( 'ponent' ) , { component } = render , { equals } = require ( 'ramda' ) , { scan } = require ( 'flyd' ) , filter = require ( 'flyd-filter' ) , { button } = require ( 'ponent' ) . html ; const counterButton = component ( { state : ( props , events ) => ( { text : scan ( clicks => clicks + 1 , 0 , filter ( equals (
【文件预览】:
ponent-master
----.gitignore(42B)
----README.md(579B)
----package.json(770B)
----demos()
--------counter.js(791B)
--------button.js(298B)
--------counterCounter.js(1KB)
--------todo.js(3KB)
--------index.js(466B)
--------index.html(202B)
----index.js(5KB)
----.npmignore(14B)