Joe Taber
520502121e
Add config option to ignore nested oob-swaps instead of processing them ( #1235 )
...
* Add config option to ignore nested oob swaps
* Fix oobElement root check
* Save config between tests; repeat some tests with different configs
* Add tests for oob-swaps in html, body tags
* Don't unnecessarily change const to var
2024-03-11 12:32:30 -04:00
Carson Gross
9fbbd17672
reformat
2023-12-24 16:37:51 -07:00
Vincent
b9da68d970
Support encapsulating oob swap elements in templates in response ( #2120 )
2023-12-21 12:39:23 -07:00
Alexander Petros
4b890ce72d
Run linter on the tests too
2023-12-21 13:22:10 -05:00
Carson Gross
84d8e33deb
fix tests
2022-10-30 13:49:29 -06:00
Arham Jain
5045534d26
added two simple tests for delete mode
2021-11-24 21:23:35 -05:00
msladecek
038821cca8
swap into all elements matching the out-of-band css selector
2021-11-13 12:10:13 +01: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
7036557cba
oob swapping fixes and firm up the settle step quite a bit
2020-05-25 16:34:19 -07:00
carson
ba6d38e9dd
Fix https://github.com/bigskysoftware/htmx/issues/19
...
clean up uses of getRawAttribute() and add a `data-*` test for all attribute tests.
2020-05-23 04:52:52 -07:00
carson
3aa8c64754
le big re-rename
2020-05-17 05:22:19 -07:00