Skip to content

Commit 07d3518

Browse files
authored
Fix wording in changed modifier description in hx-trigger.md (#3219)
Update the description of the `changed` event modifier from "the event will only change" to "the event will only fire" to clarify that the modifier controls when the `change` event triggers, improving accuracy and readability. Addresses a potential documentation error. Fixes #3218
1 parent efcc6b2 commit 07d3518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/content/attributes/hx-trigger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ for a global symbol with the name `foo`
5656
Standard events can also have modifiers that change how they behave. The modifiers are:
5757

5858
* `once` - the event will only trigger once (e.g. the first click)
59-
* `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.
59+
* `changed` - the event will only fire 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.
6060
* `delay:<timing declaration>` - a delay will occur before an event triggers a request. If the event
6161
is seen again it will reset the delay.
6262
* `throttle:<timing declaration>` - a throttle will occur after an event triggers a request. If the event

0 commit comments

Comments
 (0)