描述基本概念

This commit is contained in:
satori 2024-01-12 01:19:41 +08:00
parent 165ec80961
commit 05958da8e8
1 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,13 @@
# chain-depict
受到 pug 和 tailwind, windicss 启发的,
使用纯粹 js 书写 UI
受到 pug 和 tailwind, windicss 启发的,
使用纯粹 js 书写 UI
```javascript
import { div } form 'chain-depict'
div.w(12).h(14).onclick.stop(click).onkeydown.esc(keydown)([
div.w('auto').h(32).classList(['mdui-btn', 'mdui-btn-icon']),
div.w('auto').h(32).classList('mdui-btn mdui-btn-icon'),
])
```