We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79e4c9d commit 0b8788cCopy full SHA for 0b8788c
frontend/index.html
@@ -8,7 +8,8 @@
8
<title>Demo</title>
9
</head>
10
<body>
11
- <div id="app" hx-get="/api/v1/items" hx-trigger="load">
+ <button hx-post="/api/v1/items/new" hx-swap="none">New</button>
12
+ <div hx-get="/api/v1/items" hx-trigger="load, newItem from:body">
13
</div>
14
<noscript>
15
<p lang="en">
0 commit comments