Voo:一个很小的DOM库

时间:2021-04-27 23:20:07
【文件属性】:
文件名称:Voo:一个很小的DOM库
文件大小:11KB
文件格式:ZIP
更新时间:2021-04-27 23:20:07
JavaScript oo 一个很小的DOM库。 import { make , fragment } from 'voo' ; const header = make ( 'h1.voo-header' ) ; const paragraph = make ( 'p' ) const bold = make ( 'b' ) ; document . body . appendChild ( fragment ( header ( 'Hello ' , bold ( 'Voo' ) , '!' ) , paragraph ( 'This is just an example, but it shows well just how simple Voo is.' ) ) ) ; 哲学 朴素是一种伟大的美德,但要做到这一点需要付出艰苦的努力,需要对
【文件预览】:
Voo-master
----.gitignore(14B)
----bench()
--------build.js(5KB)
--------src()
--------index.html(394B)
----README.md(1KB)
----test()
--------index.js(3KB)
----LICENSE(1KB)
----package.json(827B)
----dist()
--------voo.min.js(1KB)
--------voo.js(3KB)
----src()
--------global.js(27B)
--------fragment.js(556B)
--------make.js(2KB)
--------index.js(116B)
--------template.js(103B)
--------text.js(110B)

网友评论