We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8f7466 commit fec926dCopy full SHA for fec926d
1 file changed
www/content/attributes/hx-trigger.md
@@ -86,12 +86,12 @@ but with a target filter for a child element
86
* `all` - queue all events (issue a request for each event)
87
* `none` - do not queue new events
88
89
-Here is an example of a search box that searches on `keyup`, but only if the search value has changed
+Here is an example of a search box that searches on `input`, but only if the search value has changed
90
and the user hasn't typed anything new for 1 second:
91
92
```html
93
<input name="q"
94
- hx-get="/search" hx-trigger="keyup changed delay:1s"
+ hx-get="/search" hx-trigger="input changed delay:1s"
95
hx-target="#search-results"/>
96
```
97
0 commit comments