3468 Commits

Author SHA1 Message Date
Ben Pate
e25b7920bb Update modal-custom.md
Update modal example to use new wait for <eventName> syntax
2021-03-01 13:01:10 -07:00
carson
a664587686 support the htmx:beforeSend event 2021-03-01 10:58:27 -07:00
Bo Peng
8d655da761 Merge branch 'dev' of https://github.com/bigskysoftware/htmx 2021-02-27 21:47:22 -06:00
carson
fa2b3c824b bump version 2021-02-27 20:01:50 -07:00
carson
835436a99b Multiple trigger issue - fix https://github.com/bigskysoftware/htmx/issues/392 and https://github.com/bigskysoftware/htmx/issues/390
Mark handling by element, rather than by event
introduce `consume` keyword on trigger to allow for preventing it from bubbling to parent
2021-02-27 20:01:39 -07:00
1cg
4cc29f9720 Merge pull request #388 from BoPeng/href
Use getAttribute("href") instead of .href in shouldCancel
2021-02-27 17:47:51 -07:00
carson
e0decc9a19 Merge branch 'pull/388' into dev 2021-02-27 17:45:16 -07:00
carson
74c4abe1be add test for shouldCancel() contribution by Bo Peng 2021-02-27 17:44:39 -07:00
carson
02d637785b support target option on hx-trigger, fixes https://github.com/bigskysoftware/htmx/issues/376#issuecomment-786821075 2021-02-26 15:05:40 -07:00
carson
3879970248 Merge branch 'dev' of github.com:bigskysoftware/htmx into dev 2021-02-26 14:21:01 -07:00
carson
a5241cc2df Merge remote-tracking branch 'origin/dev' into dev 2021-02-26 14:20:50 -07:00
carson
c1865740f3 bump version 2021-02-26 14:20:50 -07:00
carson
3bcae82498 return a promise for a bright hyperscript future 2021-02-26 14:20:49 -07:00
carson
ee33295cc0 Merge remote-tracking branch 'origin/dev' into dev 2021-02-26 14:12:18 -07:00
carson
53c195c5ca bump version 2021-02-26 14:12:04 -07:00
carson
bc2c9eb937 find the correct element to trigger after request events on 2021-02-26 14:11:45 -07:00
Bo Peng
a4412db6be Use getAttribute("href") instead of .href #385 2021-02-24 21:07:32 -06:00
carson
5a68871ac3 find the correct element to trigger after request events on 2021-02-23 14:01:35 -07:00
carson
f96d880e34 Merge remote-tracking branch 'origin/master' 2021-02-23 13:46:17 -07:00
carson
bb57526712 properly hide indicators when a request targets a parent element 2021-02-23 13:46:10 -07:00
1cg
b064e4010f Merge pull request #382 from srkunze/ws-prefix
Completing websocket URLs - Great change, thanks!
2021-02-23 12:22:21 -07:00
1cg
2f2042e420 Merge pull request #384 from whamtet/dev
settle on SSE Swap event - Thank you!
2021-02-23 12:21:26 -07:00
Matthew Molloy
32a93388d8 settle on SSE Swap event 2021-02-23 18:55:00 +07:00
Sven R. Kunze
0a321bf65b added ws-reconnecting
- retry after htmx.config.wsReconnectInterval
- onclose to event.code in [1006, 1012, 1013]
2021-02-22 22:59:42 +01:00
Sven R. Kunze
a52aadbc4c added htmx.config.wsReconnectInterval 2021-02-22 22:58:54 +01:00
Sven R. Kunze
95d1b4a4a2 complete websocket URL
- use the current host and port
- use ws for http and wss for https
- these changes allow sending cookies of the current site
2021-02-22 17:18:26 +01:00
Ben Croker
8c018be61d Break out of the while loop
Return will work, but is less correct and would break the flow of the function if code was ever added after it.
2021-02-20 09:15:10 +01:00
carson
b8ffa5c6a5 fix styling 2021-02-19 18:09:42 -07:00
carson
45daaa90c9 update version v1.2.1 2021-02-19 17:55:49 -07:00
carson
6ab08790b8 styling fix for chrome 2021-02-19 11:08:16 -07:00
carson
2ec66c2bf9 prep 1.2.1 release 2021-02-19 10:17:31 -07:00
carson
ed39bf08e4 prep 1.2.1 release 2021-02-19 10:08:15 -07:00
carson
eaad36248e prep 1.2.1 release 2021-02-19 10:07:59 -07:00
carson
acd15a5f5a allow users to configure a full page refresh on a history miss 2021-02-19 09:50:04 -07:00
carson
36e6020942 discard least recently used items if cache saving fails until empty
fixes https://github.com/bigskysoftware/htmx/issues/377
2021-02-19 09:41:40 -07:00
carson
11287d924b improve look of buttons 2021-02-18 21:15:02 -07:00
carson
cd639d1ded clean up mobile nav for docs 2021-02-18 21:08:13 -07:00
carson
a6c09931cd Merge branch 'master' into dev 2021-02-18 11:14:09 -07:00
carson
d2b1e10719 all for want of a p: don't blow history out on first successful cache usage :/
potentially fixes https://github.com/bigskysoftware/htmx/issues/370
2021-02-18 11:13:15 -07:00
1cg
b752486948 Merge pull request #374 from jreviews/patch-4
Fix version in quickstart cdn src
2021-02-18 10:41:02 -07:00
Alejandro Schmeichler
b1b337c937 Fix version in quickstart cdn src 2021-02-17 09:43:14 -04:00
1cg
7bc9e2e3cf Merge pull request #371 from OmenApps/update_ws_docs
Updated to note that change in format and add info about optional prefix
2021-02-15 10:16:01 -07:00
Omen Apps
8d8a106219 Updated to note that change in format and add info about optional prefix 2021-02-15 12:12:38 -05:00
carson
8b2d6b0475 replace badge for now 2021-02-14 06:28:00 -07:00
carson
6190425584 Merge remote-tracking branch 'origin/master' 2021-02-14 06:09:16 -07:00
carson
bbe3942300 web fixes 2021-02-14 06:09:08 -07:00
Ben Croker
a1d3cc10be Fixed title typo 2021-02-14 09:09:24 +01:00
carson
8372eb14de Merge branch 'dev' 2021-02-13 08:34:08 -07:00
carson
637f0c59b0 release prep v1.2.0 2021-02-13 07:41:46 -07:00
carson
03e5c17fe9 release prep 2021-02-13 07:38:53 -07:00