generated from ElnuDev/go-project
Remove demo button clickers
This commit is contained in:
parent
b5ca22cd7d
commit
5027e0251d
2 changed files with 1 additions and 20 deletions
|
@ -7,13 +7,6 @@
|
|||
<script src="https://unpkg.com/htmx.org@1.9.3"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div hx-sse="connect:/api/counter swap:count" hx-swap="beforebegin">
|
||||
</div>
|
||||
<button hx-get="/api/click1" hx-swap="innerHTML">Click me!</button>
|
||||
<br>
|
||||
<button hx-get="/api/click2" hx-swap="innerHTML">Click me!</button>
|
||||
<br>
|
||||
<button hx-get="/api/click3 " hx-swap="innerHTML">Click me!</button>
|
||||
<br>
|
||||
<div hx-sse="connect:/api/counter swap:count" hx-swap="beforebegin"></div>
|
||||
</body>
|
||||
</html>
|
Reference in a new issue