Update dom.js

2025-09-20 23:57:11 +00:00
parent aa7e4d6a5a
commit 8a272d6eae

@@ -18,7 +18,11 @@ const myEl = el.div({ class:'alert' }, [
### create(element, attr, children) → Element
```javascript
const myButton = dom.create('button', { type:"button", class:"btn btn-primary", "on:click": () => doSomething() }, "Okay");
const myButton = dom.create('button', {
type:"button",
class:"btn btn-primary",
"on:click": () => doSomething()
}, "Okay");
```
### apply(element, attributes)