bigskysoftware / bigskysoftware/htmx

Provide an option to suppress `hx-indicator`

Open
#2,515 10 comments 10 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
49.4k
Forks
1.7k
Avg merge
3d 22h
Merged PRs (30d)
30

Description

[hx-indicator](https://htmx.org/attributes/hx-indicator/) currently provides no way to suppress it for specific elements, e.g. to achieve showing a loading indicator by default, but don't show it for specific elements.

It would be nice if `hx-indicator="none"` or similar would be supported to not add the `htmx-request` class to a specific element. I think this is a better solution than to force the user to do the suppression via CSS, which is currently the only option.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.