17 Commits

Author SHA1 Message Date
Ben Pate
b4d5e9e2a0 Test cases
- added test cases for htmx:beforeProcessNode and htmx:afterProcessNode
2021-01-03 10:33:31 -07:00
carson
e80169808c ignore non-elements when triggering post-swap events 2020-10-04 13:50:37 -06:00
carson
4e15653adb 0.1.1 release - fix double event dispatch bug 2020-09-18 08:59:51 -06:00
carson
c3b1c63484 Support kebab naming for events 2020-09-10 08:02:00 -06:00
1cg
49849b3059
Merge pull request #181 from jreviews/patch-2
new afterOnLoad and afterRequest tests

than you!
2020-09-01 17:10:06 -07:00
carson
43cee3156e fix test - had to turn off the sinon fake server and issue a real garbage request, and rewrite it as an async test 2020-09-01 18:05:36 -06:00
Alejandro Schmeichler
da1707b5a0
new afterOnLoad and afterRequest tests
To make sure these are fired when using outerHTML swapping
2020-09-01 19:49:56 -04:00
Ben Croker
bfaedef497
Added event tests
Added `afterRequest`, `afterOnLoad` and `sendError` event tests.
2020-08-17 19:37:56 +02:00
Ben Croker
331881aed9
Fixed event names 2020-08-17 19:31:07 +02:00
carson
4f3cf2d889 Move events from <event name>.htmx (jQuery style) to htmx:<event name> (zepto style)
fixes https://github.com/bigskysoftware/htmx/issues/109
2020-06-30 10:45:30 -07:00
carson
6f14cba2e6 Trigger events on new content, rather than triggering element, since triggering element may have been replaced
fixes https://github.com/bigskysoftware/htmx/issues/79
2020-06-10 16:09:00 -07:00
carson
c0e996f144 fix previous fixes 2020-05-26 17:25:21 -07:00
carson
977aaa8bbd fix spurious 404s in events test 2020-05-26 16:55:38 -07:00
carson
ef152a73b9 Clean up URL parameter handling & tests, support anchors 2020-05-22 13:42:57 -07:00
carson
3aa8c64754 le big re-rename 2020-05-17 05:22:19 -07:00
carson
36bd9a25ca event testing 2020-05-13 13:57:52 -07:00
carson
ba5cb7105a organize tests 2020-05-13 09:12:31 -07:00