610 Commits

Author SHA1 Message Date
Ben Beecher
9ec6ffa930
Adding swap argument for ajax calls (#769)
* Adding swap argument for ajax calls

* Adding documentation

* Removing ;'s
2022-02-04 11:01:51 -07:00
alfonsrv
bce4baa20c Rename hx-inherit to hx-disinherit 2022-01-25 23:27:39 +01:00
carson
f524901d5e Merge branch 'hx-sync-implementation' into dev 2022-01-25 08:06:34 -07:00
carson
cd6d2b78e2 convert objects to JSON representation
fixes https://github.com/bigskysoftware/htmx/issues/772
2022-01-18 20:21:26 -07:00
carson
e6751be2ee first pass at hx-sync attribute 2022-01-17 13:11:09 -07:00
carson
2707016f01 support this in hx-include and hx-indicator
fixes

https://github.com/bigskysoftware/htmx/issues/757
https://github.com/bigskysoftware/htmx/issues/767
2022-01-17 10:45:59 -07: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
c9e758f7ec add regression for https://github.com/bigskysoftware/htmx/issues/768 2022-01-14 15:26:02 -07:00
carson
636fd1b902 fix tests + add test for https://github.com/bigskysoftware/htmx/pull/214 2022-01-14 12:54:28 -07:00
carson
fff0d9d7c7 Merge remote-tracking branch 'origin/master' into dev 2022-01-14 11:39:33 -07:00
carson
ab9117f432 Merge remote-tracking branch 'origin/dev' into dev 2022-01-14 11:39:12 -07:00
1cg
154b240b20
Merge pull request #720 from gotcha/setupci
Setup CI
2022-01-14 11:17:39 -07:00
carson
eb74e39912 Merge branch 'master' into dev
# Conflicts:
#	www/attributes/hx-swap-oob.md
#	www/essays/a-response-to-rich-harris.md
#	www/img/js-devs-be-thinking.png
2022-01-12 23:19:10 -07:00
alfonsrv
d025afe49f hx-inherit tests x documentation 2022-01-06 14:45:12 +01:00
alfonsrv
fb78c826d1 Adding preliminary hx-inherit tests 2022-01-05 23:50:13 +01:00
carson
f1c817a332 updated based on feedback 2021-12-24 22:49:22 -07:00
Godefroid Chapelle
b25d95993c Circle CI first step 2021-12-15 18:46:24 +01:00
Arham Jain
5045534d26 added two simple tests for delete mode 2021-11-24 21:23:35 -05:00
carson
ee507565d0 Merge branch 'dev' into pull/660
# Conflicts:
#	src/htmx.js
#	www/extensions.md
2021-11-23 13:43:29 -07:00
1cg
8625a50c59
Merge pull request #643 from msladecek/oob-multiple-targets
swap into all elements matching the out-of-band css selector

looks great, thank you!
2021-11-23 13:35:53 -07:00
carson
dd34d9d218 more release cleanup 2021-11-21 06:44:20 -07:00
carson
80ed121060 Fixes https://github.com/bigskysoftware/htmx/issues/620 - Refresh breaks history cache 2021-11-20 19:30:07 -07:00
Ben Pate
6b86e15f39 Update for multiple event names
+ tests
2021-11-17 20:01:40 -07:00
carson
3ee3739b4b add tests 2021-11-17 16:19:37 -07:00
carson
dc016ba4f9 small test fix 2021-11-16 12:42:36 -07:00
Ben Pate
e23610b191 Merge remote-tracking branch 'upstream/dev' into pr-websocket-extension 2021-11-15 12:09:07 -07:00
Ben Pate
b5c3b4723d Update tests
- hx-target test now works correctly
- fixed problem targeting correct nodes
2021-11-15 12:01:30 -07:00
Ben Pate
4a384739c6 Clean up demo servers
- remove log comments
- fix some stylesheet issues
2021-11-15 11:25:41 -07:00
Johan Vosloo
d9cded6440
Update events.js 2021-11-15 18:24:13 +01:00
Ben Pate
0e3e61b0ac SSE Test Server 2021-11-15 10:15:15 -07:00
Ben Pate
6f9c3c2e03 WebSocket Test Server 2021-11-15 10:15:06 -07:00
msladecek
038821cca8 swap into all elements matching the out-of-band css selector 2021-11-13 12:10:13 +01:00
carson
2d9c49a8a1 support an HX-Retarget header to retarget the content to another element 2021-11-12 16:58:27 -07:00
carson
e7e7b1cb37 Only cancel clicks and submits
fixes https://github.com/bigskysoftware/htmx/issues/588
2021-11-12 16:43:28 -07:00
carson
2944bf372c search for extensions in new content
fixes https://github.com/bigskysoftware/htmx/issues/281
2021-11-12 15:37:29 -07:00
Ben Pate
87e332ad1a Update stylesheet.css
playing with code coloring
2021-11-10 19:44:20 -07:00
Ben Pate
4ab7d918ce SSE Test Server
rebuild navigation and stylesheet for test pages.
2021-11-10 19:42:04 -07:00
Ben Pate
3bd85e1e8d Add test servers 2021-11-10 18:28:39 -07:00
Ben Pate
de228177bf Quick check in to demo 2021-11-09 13:45:04 -07:00
carson
e67e5ba41b bump version & disambiguate non-swaps from errors 2021-10-30 08:19:54 -06:00
Ben Pate
2aca696c88 Rebuild SSE using new Extension API
- internal API has been moved to a constructor variable.
- added reconnect with exponential backoff
- initial tests of SSE features are working
- added many JSDoc comments in the process.
- added link to "sse triggers" test
2021-10-29 13:24:16 -06:00
Ben Pate
93acf88431 Update test cases
- trigger tests working.
- settle tests failing
2021-10-25 21:56:24 -06:00
Ben Pate
dd5b92b46a Triggers working 2021-10-25 20:15:56 -06:00
Ben Pate
a1113ec111 More tests working
- multichannel test works well.
- removing debug code from simple SSE example
2021-10-24 12:34:01 -06:00
Ben Pate
260b82314a Initial port
- rebuilding this fork because of a corrupted git repository.  This branch is "working" but needs more testing to be certain.
- major changes to the way that htmx handles extensions.  this will need to be vetted more carefully before we proceed.
2021-10-24 11:56:45 -06:00
carson
bd1493f413 Merge branch 'master' into dev 2021-09-29 07:53:44 -06:00
carson
d2c5dd8603 respect the enctype declaration on boosted forms
fixes https://github.com/bigskysoftware/htmx/issues/605
2021-09-29 07:36:59 -06:00
carson
60a6717994 support <script src='...'></script> tags 2021-09-28 05:17:20 -06:00
carson
6821e366a8 remove redundant test 2021-09-27 07:55:54 -06:00