16 Commits

Author SHA1 Message Date
carson
afa6658648 test case for equality expression in conditional 2021-01-01 20:09:43 -07:00
carson
79038d62e3 support from clause for triggers
also fixed pretty ugly bugs when parsing multple trigger definitions
2021-01-01 18:52:15 -07:00
carson
f7617a4653 do not fire requests when element is no longer in DOM
fixes https://github.com/bigskysoftware/htmx/issues/222
2020-11-05 08:39:33 -07:00
carson
d67634e678 test scrolledIntoView 2020-10-19 09:49:55 -06:00
carson
165586b777 docs and tests for trigger filters 2020-10-17 13:21:15 -06:00
carson
18220b3283 hook in tokenizer implementation 2020-10-04 18:26:17 -06:00
carson
296f354fef fix throttle and make the trigger spec test actually work 2020-06-11 09:45:42 -07:00
carson
96c9623a3d test fix 2020-06-11 06:55:50 -07:00
carson
1f62541094 support throttle modifier in trigger definition
https://github.com/bigskysoftware/htmx/issues/88
2020-06-11 06:21:49 -07:00
carson
cbe8cd9fce fix triggers test 2020-05-24 21:57:20 -07:00
carson
8a6a6f8016 web socket support 2020-05-24 21:41:44 -07:00
Robert Schroll
2ad1202978 Handle multiple triggers
Triggers are separated by commas, and each will get handled with its
own options.  If we are unable to parse any triggers, the default
trigger for each element is used.
2020-05-23 18:08:54 -07:00
Robert Schroll
0b0be4193a Change trigger spec for repeated and SSE events 2020-05-23 18:08:54 -07:00
Robert Schroll
9437e6c0a8 Add tests of trigger spec parsing 2020-05-23 18:08:54 -07:00
carson
ba6d38e9dd Fix https://github.com/bigskysoftware/htmx/issues/19
clean up uses of getRawAttribute() and add a `data-*` test for all attribute tests.
2020-05-23 04:52:52 -07:00
carson
3aa8c64754 le big re-rename 2020-05-17 05:22:19 -07:00