add basic and htmx examples

This commit is contained in:
2025-12-05 01:13:13 +01:00
commit f6bfd1f7ab
11 changed files with 242 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
<li>
<button
hx-patch="/todo/{{.ID}}/completed"
hx-target="closest li"
hx-swap="outerHTML"
>
{{ .ID }} {{ .Name }} - {{ .Completed }}
</button>
</li>