Update dom.js
@@ -19,8 +19,8 @@ const myEl = el.div({ class:'alert' }, [
|
||||
|
||||
```javascript
|
||||
const myButton = dom.create('button', {
|
||||
type:"button",
|
||||
class:"btn btn-primary",
|
||||
"type": "button",
|
||||
"class": "btn btn-primary",
|
||||
"on:click": () => doSomething()
|
||||
}, "Okay");
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user