update to v2.2.0

add library version getter
fix demo issues
This commit is contained in:
2025-09-13 01:55:41 -04:00
parent c10e8cd345
commit c9de0883eb
10 changed files with 151 additions and 58 deletions

View File

@@ -20,7 +20,7 @@
$d
.create("h1")
.className("cool-heading")
.text("fluent-dom-esm"),
.text(`fluent-dom-esm v${$d.version()}`),
)
.append(
$d
@@ -72,7 +72,7 @@
.t(
`
\<script type="module">
import $d from "/src/fluent-dom-esm.ts";
import $d from "/fluent-dom-esm.ts";
// Create new objects in memory with a simple, chainable interface
const $article = $d