303 Commits

Author SHA1 Message Date
carson
a1d320243d only return a promise for API usage
fixes https://github.com/bigskysoftware/htmx/issues/585
2021-09-06 10:43:04 -06:00
Ben Croker
21ec1094ec Add better title tests 2021-09-05 14:08:44 +02:00
Frankie Robertson
4a59263d40 Allow listening to events from:window 2021-08-29 14:07:17 +03:00
carson
c77cb83c54 clean up tests for 1.5.0 release 2021-07-12 10:48:53 -06:00
carson
94a9ef1dbb consume white space after interval 2021-07-09 17:52:21 -06:00
carson
0eeb922a1e scroll fixes 2021-07-09 06:01:56 -06:00
carson
e621b52867 tests and bug fixes for scrolling targets 2021-07-08 13:11:48 -06:00
carson
a4a9d2d733 support for hx-request attribute with the following config values:
* `timeout` - the request timeout
* `credentials` - send credentials w/ the request
* `noHeaders` - do not send any non-standard headers with the request

We also support the `htmx.config.timeout` configuration value for setting the default timeout
2021-07-07 06:37:40 -06:00
carson
bbf2ae4412 support document as an extended query selector and plug it in for the from: clause in triggers 2021-07-06 15:27:51 -06:00
carson
40ed7b0827 allow filters for polling 2021-07-06 10:24:55 -06:00
carson
c9936b4a35 Merge remote-tracking branch 'origin/dev' into dev 2021-07-06 09:57:51 -06:00
Matthew Molloy
e283e476b5 added regression test for image maps 2021-07-06 00:52:55 +09:00
carson
1298c41435 use clicked event to track button clicks as well for OSX 2021-07-02 12:30:08 -06:00
carson
6d1a86836e track last clicked button using focus to include value in submission 2021-07-01 13:54:11 -06:00
carson
444660158f regression for hyperscript htmx:afterRequest form reset integration 2021-06-14 09:46:55 -06:00
carson
49405727d5 script tags eval in the global scope 2021-05-25 09:11:37 -06:00
carson
dd8ce0fe7a 1.4 release prep 2021-05-24 09:34:17 -06:00
carson
e15c5d99e3 support a queue modifier for queueing events in different ways
fixes https://github.com/bigskysoftware/htmx/issues/470
2021-05-20 09:07:56 -06:00
carson
1d52b23fed support a htmx.config.useTemplateFragements option to use <template> tags to process server content for more flexibility (e.g. oob content alongside table elements) 2021-05-19 10:55:16 -06:00
carson
f6efc4a8c3 add intersect event for intersection observer
supports the `root` and `threshold` config variables
2021-05-18 13:19:03 -06:00
carson
bdefbd4fec title tags must come before any svg tags to update the title
fixes https://github.com/bigskysoftware/htmx/issues/459
2021-05-17 11:39:22 -06:00
carson
9f04b85a9f tests for hx-trigger delay and throttle modifiers 2021-05-10 09:46:40 -06:00
carson
91d677e60d change to hx-disable 2021-04-04 10:08:28 -06:00
carson
0488f233ae bump version + disable-htmx security feature 2021-04-04 04:03:52 -06:00
carson
49b517e1c1 Merge remote-tracking branch 'origin/master' 2021-03-26 14:25:28 -06:00
carson
1fca7dbb70 dispatch events by HX-Trigger-After-* on body if the element is no long in the DOM
fixes https://github.com/bigskysoftware/htmx/issues/418
2021-03-25 12:42:33 -06:00
carson
b42b0b1dfe fix test 2021-03-25 12:36:27 -06:00
1cg
148362560b
Merge pull request #381 from srkunze/ws-reconnect
WebSocket Reconnect
2021-03-23 19:29:18 -06:00
carson
6503e29832 add regression test for https://github.com/bigskysoftware/htmx/issues/427 2021-03-20 19:58:47 -06:00
Sven R. Kunze
c98c1abc33 added manual test (by @benpate) 2021-03-12 20:46:59 +01:00
carson
6026923ad1 site fixes and get rid of the broken ci 2021-03-11 05:53:57 -07:00
carson
e82219cc0d IE fixes 2021-03-09 08:54:16 -07:00
carson
71179f9db1 manually merge https://github.com/bigskysoftware/htmx/pull/402 2021-03-06 09:43:18 -07:00
carson
b54d6e57d3 Improve API 2021-03-06 06:50:56 -07:00
carson
835436a99b Multiple trigger issue - fix https://github.com/bigskysoftware/htmx/issues/392 and https://github.com/bigskysoftware/htmx/issues/390
Mark handling by element, rather than by event
introduce `consume` keyword on trigger to allow for preventing it from bubbling to parent
2021-02-27 20:01:39 -07:00
carson
e0decc9a19 Merge branch 'pull/388' into dev 2021-02-27 17:45:16 -07:00
carson
74c4abe1be add test for shouldCancel() contribution by Bo Peng 2021-02-27 17:44:39 -07:00
carson
02d637785b support target option on hx-trigger, fixes https://github.com/bigskysoftware/htmx/issues/376#issuecomment-786821075 2021-02-26 15:05:40 -07:00
carson
3bcae82498 return a promise for a bright hyperscript future 2021-02-26 14:20:49 -07:00
carson
5a68871ac3 find the correct element to trigger after request events on 2021-02-23 14:01:35 -07:00
carson
bb57526712 properly hide indicators when a request targets a parent element 2021-02-23 13:46:10 -07:00
carson
acd15a5f5a allow users to configure a full page refresh on a history miss 2021-02-19 09:50:04 -07:00
carson
d2b1e10719 all for want of a p: don't blow history out on first successful cache usage :/
potentially fixes https://github.com/bigskysoftware/htmx/issues/370
2021-02-18 11:13:15 -07:00
carson
aab37c8825 history testing infrastructure 2021-02-13 07:35:40 -07:00
Andy
38ff8fa54f morphdom-swap handles DocumentFragment properly 2021-02-06 04:55:12 +00:00
carson
bcb13d8004 Merge branch 'dev' into pull/352 2021-02-05 18:32:03 -07:00
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