alfonsrv
fb78c826d1
Adding preliminary hx-inherit tests
2022-01-05 23:50:13 +01:00
Arham Jain
5045534d26
added two simple tests for delete mode
2021-11-24 21:23:35 -05:00
1cg
8625a50c59
Merge pull request #643 from msladecek/oob-multiple-targets
...
swap into all elements matching the out-of-band css selector
looks great, thank you!
2021-11-23 13:35:53 -07:00
carson
3ee3739b4b
add tests
2021-11-17 16:19:37 -07:00
msladecek
038821cca8
swap into all elements matching the out-of-band css selector
2021-11-13 12:10:13 +01:00
carson
e7e7b1cb37
Only cancel clicks and submits
...
fixes https://github.com/bigskysoftware/htmx/issues/588
2021-11-12 16:43:28 -07:00
carson
6754c67b53
Merge branch 'master' into dev
...
# Conflicts:
# README.md
2021-09-23 15:44:27 -06:00
carson
d153929304
include HX-Boosted
header when request is via a boosted element
...
fixes https://github.com/bigskysoftware/htmx/issues/600
2021-09-23 15:43:45 -06:00
Frankie Robertson
4a59263d40
Allow listening to events from:window
2021-08-29 14:07:17 +03: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
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
9f04b85a9f
tests for hx-trigger
delay
and throttle
modifiers
2021-05-10 09:46:40 -06:00
carson
71179f9db1
manually merge https://github.com/bigskysoftware/htmx/pull/402
2021-03-06 09:43:18 -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
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
bb57526712
properly hide indicators when a request targets a parent element
2021-02-23 13:46:10 -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
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
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
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
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
carson
6939290b8f
support closest
syntax in hx-indicator
2021-01-03 08:04:26 -07:00
carson
afa6658648
test case for equality expression in conditional
2021-01-01 20:09:43 -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
cc092ed9a0
Merge branch 'dev' into bencroker-patch-2
2020-12-29 10:08:34 -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
d464b91d1e
Add braces test
2020-11-15 17:56:23 -07:00
carson
5acd554a5c
Two-fer:
...
* Implement `hx-vals` which is a JSON-only (and therefore safer) version of `hx-vars`
* Port all internal evals to use `Function` instead
May fix https://github.com/bigskysoftware/htmx/issues/213
2020-11-15 17:54:54 -07:00
carson
2209c4bf6f
switch semantics: hx-vars overrides any input
2020-11-15 06:23:04 -07:00
carson
f7617a4653
do not fire requests when element is no longer in DOM
...
fixes https://github.com/bigskysoftware/htmx/issues/222
2020-11-05 08:39:33 -07:00
carson
d67634e678
test scrolledIntoView
2020-10-19 09:49:55 -06:00
carson
1cb756c05e
add test for SSE swapping
2020-10-19 08:20:16 -06:00
carson
165586b777
docs and tests for trigger filters
2020-10-17 13:21:15 -06:00