bigskysoftware / bigskysoftware/htmx
cannot access event in `hx-headers` js
Open
- Dominant language
- JavaScript
- Stars
- 49.4k
- Forks
- 1.7k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 30
Description
When using `hx-vals` and `hx-vars` you can reference event as shown in the docs for [hx-vals](https://htmx.org/attributes/hx-vals/). That is not the case with `hx-headers`
The following example don't work because `event` is undefined
```html
Get Some HTML, Including a custom header indicating which event triggered the request
```
Contributor guide
Assessment
This issue has not been assessed yet.