add basic and htmx examples
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<li>
|
||||
<button
|
||||
hx-patch="/todo/{{.ID}}/completed"
|
||||
hx-target="closest li"
|
||||
hx-swap="outerHTML"
|
||||
>
|
||||
{{ .ID }} {{ .Name }} - {{ .Completed }}
|
||||
</button>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user