mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 07:21:05 +00:00
Fix docs.md trigger
attribute in polling section
This commit is contained in:
parent
9b7a6d5a28
commit
d6ee2b539e
@ -189,7 +189,7 @@ If you want an element to poll the given URL rather than wait for an event, you
|
|||||||
with the [`hx-trigger`](/attributes/hx-trigger/) attribute:
|
with the [`hx-trigger`](/attributes/hx-trigger/) attribute:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<div hx-get="/news" trigger="every 2s">
|
<div hx-get="/news" hx-trigger="every 2s">
|
||||||
</div>
|
</div>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user