diff --git a/samples/MinimalHtmxorApp/Components/Pages/Counter.razor b/samples/MinimalHtmxorApp/Components/Pages/Counter.razor index 91d1913..94750ba 100644 --- a/samples/MinimalHtmxorApp/Components/Pages/Counter.razor +++ b/samples/MinimalHtmxorApp/Components/Pages/Counter.razor @@ -11,18 +11,20 @@ content, like these paragraph elements.

- -
+
+

Current count: @CurrentCount

- -
- + hx-target="#counter" + @onput="IncrementCount"> + Click me + + +
@code { [SupplyParameterFromForm] @@ -33,7 +35,7 @@ // Access the HtmxContextEventArgs to control // the response headers to the client. // E.g.: args.Response.StatusCode(201); - + CurrentCount++; } }