Joe Mullally
8538f18c40
Add test for path-deps outerHTML case
...
This test reproduces issue #323
2021-02-05 20:38:02 +00:00
carson
08ba9f8c95
Merge remote-tracking branch 'origin/dev' into dev
2021-02-05 11:41:59 -07:00
carson
1a6f9b1ae5
ignore overridden default swap style for hx-boost
...
fixes https://github.com/bigskysoftware/htmx/issues/342
2021-02-05 11:41:52 -07:00
1cg
4a6ce115b6
Merge pull request #330 from benpate/pullrequest-preload-resources
...
Preload Resources
Awesome work @benpate !
2021-02-05 11:13:40 -07:00
1cg
8c3ced2573
Merge pull request #350 from andyhorng/hx-preserve-fix
...
Handle preserved element that might not be existing
2021-02-05 11:11:51 -07:00
carson
3c3cd304ae
add test for hx-headers
2021-02-05 11:00:03 -07:00
Andy
dcd8f27988
Handle preserved element that might not be existing
2021-02-05 04:17:17 +00:00
carson
6ed5c7e1b8
temp work
2021-02-01 10:21:54 -07:00
Ben Pate
9e58594af1
Update preload extension
...
- preloading linked images is now optional
- update manual tests
- update documentation
2021-01-28 14:30:35 -07:00
carson
6ad731df1e
Merge branch 'dev' into pull/334
2021-01-25 14:20:17 -07:00
carson
c773e86131
regression test for previous fix
...
move event cancellation before filtering so form submissions can be cancelled properly
2021-01-25 14:20:06 -07:00
Deniz Akşimşek
09f0f57c4f
Merge branch 'dev' into dev
2021-01-24 12:32:40 +03:00
carson
e0018b6d44
Remove event listeners on other elements when an element is removed from the DOM
2021-01-23 16:29:13 -07:00
carson
445e6e2b4d
do not trigger after swap events and logic on element that has been removed by outerHTML
swap
2021-01-23 15:50:28 -07:00
Ben Croker
7781cf5829
Improved test name
2021-01-22 10:23:14 +01:00
Ben Croker
3414e0ed69
Added missing hx-include
to test
2021-01-22 10:02:12 +01:00
Ben Croker
10e068fcaa
Added test for two values included when not in form
2021-01-22 09:32:52 +01:00
Deniz Akşimşek
c36b18b189
move over changes from master (oops)
2021-01-15 15:00:01 +00:00
Ben Pate
4b1d6708d0
Handle preloaded resources
...
Updates to preload now preload any linked images included in the fragment html. Stylesheets and scripts are not affected.
2021-01-12 19:21:09 -07:00
carson
58f373d1e5
config that disallows eval
in htmx implementation
...
addressed https://github.com/bigskysoftware/htmx/issues/305
2021-01-04 10:36:56 -07:00
carson
219c78262d
csp test page
2021-01-04 09:22:07 -07:00
carson
0d76f98167
update
2021-01-03 15:42:06 -07:00
1cg
d0b514f7ad
Merge pull request #268 from benpate/pullrequest-ignore-extensions
...
Add "ignore:" command for extensions
thank you!
2021-01-03 11:33:01 -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
16765b39bf
support the on load
syntax in hyperscript
2021-01-03 09:15:43 -07:00
carson
2ead82eb78
Merge remote-tracking branch 'origin/dev' into dev
2021-01-03 08:04:35 -07:00
carson
6939290b8f
support closest
syntax in hx-indicator
2021-01-03 08:04:26 -07:00
1cg
953b325a6d
Merge pull request #300 from benpate/pullrequest-preload
...
Extension: Preload Updates
🔥 🔥 🔥
2021-01-02 18:11:02 -07:00
Ben Pate
8aa4f74745
Change Default Configuration
...
- allow inheritance
- change default trigger to mousedown
- move configuration event into `preload` attribute
- remove wait option (delay hardcoded to 100ms)
- update manual test cases
2021-01-02 17:55:36 -07:00
Ben Pate
3022030505
Add test cases
...
Manual test cases for now.
2021-01-01 21:54:49 -07:00
carson
afa6658648
test case for equality expression in conditional
2021-01-01 20:09:43 -07:00
carson
41c732d880
Merge remote-tracking branch 'origin/dev' into dev
2021-01-01 18:52:24 -07:00
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
1cg
a059afb2ef
Merge pull request #273 from benpate/pullrequest-preload
...
Extension: Preload Links
2021-01-01 17:02:49 -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
Johan Vosloo
b46e8ab10f
Added tests
2020-12-30 14:49:21 +01:00
Ben Pate
d928c7ca38
Improved error handling
...
- Catches rapid mouse movements better
- Better test cases
2020-12-29 22:12:47 -07:00
Ben Pate
294885454b
Style updates
...
- use built-in htmx.parseInterval function instead of custom one
- smarter handling of mouse movement inside complex objects
- more descriptive values in preloadState
- also, semicolons
2020-12-29 20:39:07 -07: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
Ben Pate
d0f19754ad
Updates
...
- Changed API to look for event names and wait durations.
- Changed default triggers to mousedown (0ms wait time)
- Added default wait on mouseover events (100ms)
- Now using htmx.ajax for HX-GET requests. This makes sure headers match the actual HTTP requestswhen they're made
- Updated manual tests
- More tests and documentation to come
2020-12-29 16:28:35 -07:00
1cg
cc092ed9a0
Merge branch 'dev' into bencroker-patch-2
2020-12-29 10:08:34 -07:00
Matthew Molloy
e01c7f77e4
skip validation when novalidate or form submitted indirectly
2020-12-27 12:59:48 +07:00
carson
5fd24a7096
support the hx-preserve
attribute
...
fixes https://github.com/bigskysoftware/htmx/issues/284
2020-12-24 06:36:15 -07:00
Ben Croker
0f226d29dd
Added test
2020-12-19 10:18:42 +01:00
Ben Pate
3551528d96
Merge branch 'dev' into pullrequest-ignore-extensions
2020-12-14 13:43:52 -07:00
Ben Pate
84ac44b591
Add "ignore:" command for extensions
2020-12-14 13:26:34 -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