summaryrefslogtreecommitdiffstatshomepage
path: root/www/content/attributes/hx-indicator.md
diff options
context:
space:
mode:
Diffstat (limited to 'www/content/attributes/hx-indicator.md')
-rw-r--r--www/content/attributes/hx-indicator.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/content/attributes/hx-indicator.md b/www/content/attributes/hx-indicator.md
index 0e273e48..1c2358b1 100644
--- a/www/content/attributes/hx-indicator.md
+++ b/www/content/attributes/hx-indicator.md
@@ -1,5 +1,9 @@
+++
title = "hx-indicator"
+description = """\
+ The hx-indicator attribute in htmx allows you to specify the element that will have the `htmx-request` class added \
+ to it for the duration of the request. This can be used to show spinners or progress indicators while the request is \
+ in flight."""
+++
The `hx-indicator` attribute allows you to specify the element that will have the `htmx-request` class