mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-01 06:51:32 +00:00
Use correct extended CSS selector name in hx-trigger notes section (#2964)
This commit is contained in:
parent
56ca3eeef2
commit
0ce391e924
@ -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)`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user