Thomas Eizinger
|
899c454580
|
Actually pass original event on to htmx:configRequest (#1156)
* Add failing test
* Use all arguments of `handler`
|
2022-12-17 07:19:39 -06:00 |
|
Carson Gross
|
d16cf3c9bb
|
hook to allow for custom confirmation dialogs, etc.
|
2022-10-30 13:14:28 -06:00 |
|
Ben Beecher
|
326a9df916
|
renaming event and adding test around aborting swap
|
2022-01-15 13:44:24 -05:00 |
|
Ben Beecher
|
3152c77688
|
adding events around oob swaps
|
2022-01-15 13:27:11 -05:00 |
|
carson
|
dc016ba4f9
|
small test fix
|
2021-11-16 12:42:36 -07:00 |
|
Johan Vosloo
|
d9cded6440
|
Update events.js
|
2021-11-15 18:24:13 +01:00 |
|
carson
|
dd8ce0fe7a
|
1.4 release prep
|
2021-05-24 09:34:17 -06:00 |
|
carson
|
5a68871ac3
|
find the correct element to trigger after request events on
|
2021-02-23 14:01:35 -07:00 |
|
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 |
|