mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-30 06:21:19 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
667e07f432
@ -11,6 +11,8 @@ If you wish for `hx-headers` to *evaluate* the values given, you can prefix the
|
||||
|
||||
```html
|
||||
<div hx-get="/example" hx-headers='{"myHeader": "My Value"}'>Get Some HTML, Including A Custom Header in the Request</div>
|
||||
|
||||
<div hx-get="/example" hx-headers='js:{myVal: calculateValue()}'>Get Some HTML, Including a Dynamic Custom Header from Javascript in the Request</div>
|
||||
```
|
||||
|
||||
## Security Considerations
|
||||
|
Loading…
x
Reference in New Issue
Block a user