799 Commits

Author SHA1 Message Date
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
9dc01e65fb fix path deps extension 2021-01-01 16:57:33 -07:00
1cg
522b69c3b7
Merge pull request #287 from jvosloo/patch-1
Extend path-deps extension to handle explicit path refreshes
2021-01-01 16:53:03 -07:00
1cg
686bab07bf
Merge pull request #296 from benpate/pullrequest-parseInterval
More consistent parseInterval results
2021-01-01 16:51:08 -07:00
Johan Vosloo
d529108045 Added documentation 2020-12-30 15:00:24 +01:00
Johan Vosloo
b46e8ab10f Added tests 2020-12-30 14:49:21 +01:00
Ben Pate
a327b0078e Unit tests working
- fixed issues with Chai unit tests
- removed old function
2020-12-29 19:57:05 -07:00
Ben Pate
354be034d2 Updating ParseInterval
- add tests
- try replacement function
2020-12-29 19:47:17 -07:00
1cg
20436f243c
Merge pull request #277 from bigskysoftware/bencroker-patch-2
Change how getInputValues() works
2020-12-29 10:11:00 -07:00
1cg
cc092ed9a0
Merge branch 'dev' into bencroker-patch-2 2020-12-29 10:08:34 -07:00
1cg
8e7e1f5528
Merge pull request #288 from whamtet/dev
skip validation when novalidate or form submitted indirectly
2020-12-29 10:05:00 -07:00
Johan Vosloo
53ba918f09
Update path-deps.js 2020-12-27 11:38:15 +01:00
Matthew Molloy
e01c7f77e4 skip validation when novalidate or form submitted indirectly 2020-12-27 12:59:48 +07:00
Johan Vosloo
44af39083d
Update path-deps.js 2020-12-26 23:28:44 +01:00
Johan Vosloo
ac830eb42b
Update path-deps.js 2020-12-26 23:22:23 +01:00
Johan Vosloo
a8b7f0171b
Update path-deps.js 2020-12-26 23:20:34 +01:00
Johan Vosloo
d105d7bce7
Update path-deps.js 2020-12-26 23:17:34 +01:00
Johan Vosloo
19b436773d
Update path-deps.js
By catering for a new custom event called `htmx:refreshPath`, we should be able to support the triggering of the refresh of a specific path
2020-12-26 22:58:17 +01:00
carson
5fd24a7096 support the hx-preserve attribute
fixes https://github.com/bigskysoftware/htmx/issues/284
2020-12-24 06:36:15 -07:00
carson
d3f2444bb7 support target resolving in ajaxHelper 2020-12-24 06:12:29 -07:00
carson
265a756e09 remove some headers for better HTTP caching & clean up 2020-12-24 06:03:41 -07:00
carson
bc62ec5cec Merge remote-tracking branch 'origin/dev' into dev 2020-12-24 05:50:58 -07:00
carson
59b9f57fe9 add .ajax() to API 2020-12-24 05:50:48 -07:00
carson
7427ab2a6d clean up response handler parameters 2020-12-24 05:35:47 -07:00
carson
fb64e76de0 clean up parameters 2020-12-24 05:16:15 -07:00
carson
0a00f38432 extract response handling 2020-12-24 04:58:59 -07:00
carson
1970e4280a remove bad console.log 2020-12-22 18:15:03 -07:00
Ben Croker
062a70e3e9
Removed unused parameter 2020-12-21 20:09:11 +01:00
Ben Croker
0f226d29dd
Added test 2020-12-19 10:18:42 +01:00
Ben Croker
94881490a5
Update htmx.js 2020-12-18 23:32:22 +01:00
Ben Croker
fc757b9aff
Update htmx.js 2020-12-18 23:26:41 +01:00
Ben Croker
6749a462ca
Change how getInputValues() works 2020-12-18 23:05:33 +01:00
Ben Croker
adc5b2a5fa
Undo previous commit, meant to submit a PR, doh! 2020-12-18 23:04:30 +01:00
Ben Croker
591954e72d
Change how getInputValues() works 2020-12-18 23:00:00 +01:00
1cg
64f7aa2cf9
Merge pull request #269 from benpate/pullrequest-modal-docs
More Documentation for Modal Dialogs
2020-12-16 10:10:13 -07:00
1cg
61fe3899c8
Merge branch 'dev' into pullrequest-modal-docs 2020-12-16 10:09:52 -07:00
1cg
deab215734
Merge pull request #270 from benpate/pullrequest-tabs
Example Code for Tabs
2020-12-16 10:08:57 -07:00
Ben Pate
5f71a41cbd Documentation for how to implement tabs using htmx
This PR demonstrates two different ways to make tabs using htmx
2020-12-14 23:20:44 -07:00
Ben Pate
efcbc2c27f Update examples.md
Add example to the index
2020-12-14 22:01:40 -07:00
Ben Pate
fd1b46a0bc Merge branch 'pullrequest-modal-docs' of https://github.com/benpate/htmx into pullrequest-modal-docs 2020-12-14 21:59:47 -07:00
Ben Pate
55cfe09e68 Create modal-custom.md
This is a demo of making a custom modal dialog from scratch
2020-12-14 21:58:36 -07:00
Ben Pate
a3a4dfb5df Create modal-custom.md
This is a demo of making a custom modal dialog from scratch
2020-12-14 21:55:19 -07:00
carson
f9c757bd9a bump version 2020-12-12 10:12:30 -07:00
carson
a8cd068d4e v1.0.1 prep v1.0.2 2020-12-11 15:37:08 -07:00
carson
230e2f65df support a CSS selector in the hx-swap-oob attributes 2020-12-11 15:33:24 -07:00
carson
b96e5e771e allow hx-swap-oob to be at any level in returned content 2020-12-11 15:00:44 -07:00
carson
b1729b2b85 improve API by taking string selectors in place of elements 2020-12-04 15:06:02 -07:00
carson
2a9b6833a6 Bump for next release 2020-12-04 15:05:40 -07:00
carson
564d4eb651 holy smokes this test won't die v1.0.1 2020-12-04 10:08:01 -07:00
carson
c9ab48d9d5 more 1.0.1 prep 2020-12-04 10:03:59 -07:00