From c59fe799e8a6f244d94b168ea67d75c42764c606 Mon Sep 17 00:00:00 2001 From: Oliver Djursing Date: Thu, 20 Jul 2023 20:29:13 +0200 Subject: [PATCH] Update hx-trigger throttle documentation (#1609) --- www/content/attributes/hx-trigger.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/content/attributes/hx-trigger.md b/www/content/attributes/hx-trigger.md index d87379aa..b8559416 100644 --- a/www/content/attributes/hx-trigger.md +++ b/www/content/attributes/hx-trigger.md @@ -52,8 +52,8 @@ Standard events can also have modifiers that change how they behave. The modifi * `changed` - the event will only change if the value of the element has changed. Please pay attention `change` is the name of the event and `changed` is the name of the modifier. * `delay:` - a delay will occur before an event triggers a request. If the event is seen again it will reset the delay. -* `throttle:` - a throttle will occur before an event triggers a request. If the event -is seen again before the delay completes it is ignored, the element will trigger at the end of the delay. +* `throttle:` - a throttle will occur after an event triggers a request. If the event +is seen again before the delay completes, it is ignored, the element will trigger at the end of the delay. * `from:` - allows the event that triggers a request to come from another element in the document (e.g. listening to a key event on the body, to support hot keys) * The extended CSS selector here allows for the following non-standard CSS values: * `document` - listen for events on the document