From 8a272d6eae40e16e1b7fa20d0a62470c269ed324 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 20 Sep 2025 23:57:11 +0000 Subject: [PATCH] Update dom.js --- dom.js.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dom.js.md b/dom.js.md index 6b38855..aef76bd 100644 --- a/dom.js.md +++ b/dom.js.md @@ -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)