mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 23:35:13 +00:00
fix bad docs: https://github.com/bigskysoftware/htmx/issues/54
This commit is contained in:
parent
33ea709a30
commit
662b9a4964
@ -13,7 +13,6 @@ will be evaluated as the fields in a javascript object literal.
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<div hx-ext="include-vals">
|
<div hx-ext="include-vals">
|
||||||
<!-- Removes this div after 1 second -->
|
|
||||||
<div hx-get="/test" include-vals="included:true, computed: computeValue()">
|
<div hx-get="/test" include-vals="included:true, computed: computeValue()">
|
||||||
Will Include Additional Values
|
Will Include Additional Values
|
||||||
</div>
|
</div>
|
||||||
@ -22,4 +21,4 @@ will be evaluated as the fields in a javascript object literal.
|
|||||||
|
|
||||||
### Source
|
### Source
|
||||||
|
|
||||||
<https://unpkg.com/htmx.org/dist/ext/remove-me.js>
|
<https://unpkg.com/htmx.org/dist/ext/include-vals.js>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user