carson
26f4ac46be
keyboard shortcut demo
2021-01-03 08:39:33 -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
carson
e5b2273c09
bump to 1.1
2021-01-03 08:03:09 -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
af31832866
Revise documentation
...
- describe new behavior
- clean up spelling/grammar
2021-01-02 17:56:13 -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
8a4c2ba173
Add documentation
...
This should document everything in the extension. Please let me know if there are any typos or mistakes.
2021-01-01 22:08:20 -07:00
Ben Pate
3022030505
Add test cases
...
Manual test cases for now.
2021-01-01 21:54:49 -07:00
Ben Pate
8fd40ac0f7
Update preload.js
...
- Change configuration format to use built-in htmx functions
- Change defaults to mouseover/100ms
2021-01-01 21:54:24 -07:00
carson
14572d6df1
docs for the from
trigger modifier
2021-01-01 20:51:22 -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
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
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
Ben Pate
a7e0d80514
Merge branch 'dev' into pullrequest-preload
2020-12-29 13:29:31 -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
Ben Pate
7eb8e3fb90
Configuraion Enhancements
...
This extension now allows a configuration argument `preload="event,event,event"` on any node in the DOM. This argument can be inherited from parent nodes, and defaults to "mouseover,touchstart"
2020-12-23 13:46:02 -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