μ
sandbox
≡
📦 Get .zip of this app
📄 Download as self-contained .html
🛣️ Run standalone
✨ New
⟺ Fullscreen editor
Alt + 1
⟺ Fullscreen preview
Alt + 2
⤄ Normal view
Alt + 3
Run ▶️
(
ctrl + enter
)
Share
(
ctrl + S
)
mutraction-dom
@0.28.0
App
JS output
import { element as _mu_element, child as _mu_child, choose as _mu_choose } from "mutraction-dom"; import { track } from "mutraction-dom"; const model = track({ clicks: 0 }); const clicker = _mu_element("button", {}, { onclick: () => () => ++model.clicks }, "Clicks: ", _mu_child(() => model.clicks)); document.body.append(clicker);
Share Sandbox Link
×
Get standalone link