Back to Practical Aspnetcore

hx-indicator

projects/htmx/hx-indicator/README.md

latest456 B
Original Source

hx-indicator

This example demonstrats how to show spinning indicators waiting for AJAX requests to complete(doc)

html
<ul hx-indicator="#spinner">
    <li hx-get="/htmx">GET</li>
    <li hx-post="/htmx">POST</li>
    <li hx-put="/htmx">PUT</li>
    <li hx-patch="/htmx">PATCH</li>
    <li hx-delete="/htmx">DELETE</li>
</ul>