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
219c78262d
csp test page
2021-01-04 09:22:07 -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
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
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
carson
d71e7bd4e9
accept selector strings as first argument to on()
, off()
, etc.
...
hyperscript example for file upload
2020-11-25 06:24:46 -07:00
carson
85b5d04faa
file upload progress, with test
2020-11-24 14:24:01 -07:00
Andrew Lehman
661f43f5cf
Update title and test label
2020-11-15 21:11:10 -05:00
Andrew Lehman
f9d0ccb3ed
Add minimal test to ensure requests aren't locked
2020-11-15 21:08:31 -05:00
carson
8ac2baf586
switch to colon separator for sse and ws to avoid comma issues w/ URLs
2020-09-15 12:22:54 -06:00
Ben Pate
9b28ddc129
Import Test Cases
...
These three test cases demonstrate SSE using a remote service.
2020-09-13 19:21:35 -06:00
Ben Pate
09be7fff0d
Added Tests
...
- added new scroll test
- renamed original test (because now there are two manual tests for scrolling)
2020-09-02 11:12:48 -06:00
carson
eb04ab5b3e
add scroll
and view
modifiers to hx-swap
2020-06-23 14:25:56 -07:00
acnebs
d01025823e
Rename custom HTTP headers to no longer start with X-
...
This convention is deprecated, as per this RFC from the IETF:
https://tools.ietf.org/html/rfc6648
2020-05-28 01:29:51 +01:00
carson
0a2f717f10
fix up final stuff from rename
2020-05-17 05:59:13 -07:00
carson
3aa8c64754
le big re-rename
2020-05-17 05:22:19 -07:00
carson
e1e4f25b0e
regigger tests and add manual tests for hard-to-test things like prompt and confirm
2020-05-16 15:40:15 -07:00