update components
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 4s

This commit is contained in:
2026-04-27 01:57:14 +02:00
parent e3e5082247
commit 7590438780
8 changed files with 115 additions and 175 deletions

View File

@@ -44,7 +44,22 @@ mount(
'#demo-indicator'
);
```
## List
<div id="demo-list"></div>
```js
const items = $(['Dashboard', 'Settings', 'Help'])
mount(
List({ class: 'bg-base-200 rounded-box p-2' },
ListRows({
items,
render: (item) => span({ class: 'font-bold' }, item)
})
),
'#demo-list'
)
```
## Stack
<div id="demo-stack"></div>