Cleanup and additional template examples.

This commit is contained in:
mikestefanello 2021-12-24 23:31:43 -05:00
parent b4c4fae66b
commit cc2f25431b
4 changed files with 51 additions and 14 deletions

View file

@ -15,7 +15,7 @@
{{define "message"}}
<div class="notification is-light is-{{.Type}}" x-data="{show: true}" x-show="show">
<button class="delete" x-on:click="show = false"></button>
<button class="delete" @click="show = false"></button>
{{.Text}}
</div>
{{end}}