Getting Started
Prerequisites
Quick Start
import { createSignal, html } from "@dmnchzl/element";
const [content, setContent] = createSignal("Back To...");
setTimeout(() => setContent("BASICS!"), 1000);
const template = html`<div>${content}</div>`;
const root = document.getElementById("root");
root.appendChild(template);Last updated