Alexander Petros
|
4b890ce72d
|
Run linter on the tests too
|
2023-12-21 13:22:10 -05:00 |
|
Mark Gibson
|
94623d1129
|
Fix hx-on/hx-on:* to suppress evaluation if allowEval is false (#1682)
* Added more tests for allowEval=false
* Wrap hx-on event handlers in maybeEval
* Create and cache hx-on function on first event trigger.
|
2023-08-24 12:11:00 -06:00 |
|
Ben Lenton
|
c3662ce00d
|
Allow 'unset' directive for hx-vals and hx-vars (#1013)
* Allow 'unset' directive for hx-vals and hx-vars
* PR feedback
Co-authored-by: Ben Lenton <benlenton@Bens-MacBook-Air.local>
|
2022-09-30 14:08:46 -06:00 |
|
carson
|
d464b91d1e
|
Add braces test
|
2020-11-15 17:56:23 -07:00 |
|
carson
|
5acd554a5c
|
Two-fer:
* Implement `hx-vals` which is a JSON-only (and therefore safer) version of `hx-vars`
* Port all internal evals to use `Function` instead
May fix https://github.com/bigskysoftware/htmx/issues/213
|
2020-11-15 17:54:54 -07:00 |
|
carson
|
2209c4bf6f
|
switch semantics: hx-vars overrides any input
|
2020-11-15 06:23:04 -07:00 |
|
carson
|
70d770a1b5
|
Add support for the hx-vars attribute, for including dynamically computed values in requests
Fixes https://github.com/bigskysoftware/htmx/issues/120
|
2020-06-28 17:07:39 -07:00 |
|