Use correct extended CSS selector name in hx-trigger notes section (#2964)

This commit is contained in:
Paweł Korzeniewski 2024-10-13 10:08:10 +02:00 committed by GitHub
parent 56ca3eeef2
commit 0ce391e924
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,4 +154,4 @@ The AJAX request can be triggered via JavaScript [`htmx.trigger()`](@/api.md#tri
* `hx-trigger` is not inherited
* `hx-trigger` can be used without an AJAX request, in which case it will only fire the `htmx:trigger` event
* In order to pass a CSS selector that contains whitespace (e.g. `form input`) to the `from`- or `target`-modifier, surround the selector in parentheses or curly brackets (e.g. `from:(form input)` or `from:nearest (form input)`)
* In order to pass a CSS selector that contains whitespace (e.g. `form input`) to the `from`- or `target`-modifier, surround the selector in parentheses or curly brackets (e.g. `from:(form input)` or `from:closest (form input)`)