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
36c01420d6
Merge branch 'master' into v2.0v2.0
2024-02-09 09:41:49 -07:00
Nathaniel Sabanski
fa7223391c
Docs: Reference page. Shortened, clarity. ( #2282 )
...
* Docs: Reference page. Shortened, clarity.
* Docs: Reference. Improve hx-select-oob vs hx-swap-oob description.
2024-02-07 16:33:39 -05:00
Denis Palashevskii
7fe27dd275
Refactor and expose swap
in public API ( #2191 )
...
* refactor and expose swapping as a single method
* fixes after rebasing on latest 2.0
* fix optional parameters for swapping
* add `fullSwap` to internal API
* swap refactor polishing
* make linter happy
2024-01-19 16:31:34 -07:00
Carson Gross
ff96b78e77
move to template parsing by default (prep for head support)
2023-12-27 14:42:14 -07:00
Carson Gross
42668c6df7
Merge branch 'v2.0v2.0' into disable-inheritance
...
# Conflicts:
# src/htmx.js
# www/content/docs.md
2023-12-24 14:55:11 -07:00
Vincent
4057f9c465
Trigger specs cache indentation fix + documentation & tests ( #2094 )
...
* Fix parseAndCacheTrigger indentation as discussed in #1540
https://github.com/bigskysoftware/htmx/pull/1540#issuecomment-1834651800
* Trigger specs cache documentation + tests
2023-12-14 11:44:11 -07:00
Carson Gross
291cc1ee7d
docs for inheritance disabling
2023-12-13 17:27:55 -07:00
Carson Gross
3be4202e5e
add support for dashes in hx-on* attributes
2023-12-07 15:15:10 -07:00
Joe Taber
f716383716
Add configuration options list to reference docs ( #1927 )
...
Could not figure out how to import directly from docs.md with zola.
2023-11-10 21:31:29 -05:00
Thomas de Queiroz Barros
590fddaf04
Improve request/response documentation in docs.md ( #1839 )
...
* docs+reference: merge Response Headers docs
* docs+reference: merge Request Headers docs
* docs+reference: use true as strings
2023-10-03 16:06:29 -04:00
Carson Gross
a5fd1b7081
make singular to make more consistent w/ other attributes
2023-09-21 16:57:28 -06:00
Carson Gross
4189eeaa0c
Merge branch 'master' into dev
...
# Conflicts:
# package-lock.json
# package.json
2023-09-20 09:15:53 -06:00
gbourant
66023f21f9
Fix typo in HX-Refresh documentation ( #1798 )
2023-09-18 09:08:55 +01:00
Carson Gross
af0dc9c352
add hx-disabled-elts
functionality
2023-09-14 13:20:46 -06:00
Vincent
8fa43b1293
[Doc] Fix missing beforeCleanupElement event in doc ( #1762 )
...
Fix missing beforeCleanupElement event in doc
2023-09-04 19:12:00 -04:00
Carson Gross
4cb85e9856
Merge remote-tracking branch 'origin/dev' into dev
2023-07-25 12:56:19 -06:00
Viktor Szépe
0a471dc4fb
Fix typos in www/ ( #1579 )
2023-07-17 10:26:27 -04:00
Vincent
249a197d57
Fix beforeProcessNode link ( #1562 )
2023-07-17 00:56:53 -04:00
RoToRa
3521c3c059
Implementation of HX-Reselect ( #1385 )
...
* HX-Reselect #1040
* HX-Reselect documentation
* HX-Reselect: Fix wrong variable name
2023-07-14 15:21:21 -05:00
Antonio Pagano
e626e2aea6
docs: updating attribute table to use beforeend instead of beforeEnd ( #1427 )
...
* docs: updating attribute table to use beforeend instead of beforeEnd
* docs: updating jetbrains attributes
2023-05-23 09:47:38 -05:00
maetthew
9bd3e3b1e3
Fix missing a word in the reference ( #1422 )
2023-05-23 09:44:16 -05:00
Michito
73f6187eb5
Fix a typo in the description of hx-confirm ( #1446 )
...
Co-authored-by: mic4ael <email>
2023-05-23 09:42:33 -05:00
Nathaniel Sabanski
360331d25a
hx-on: Added to Reference page, and revised docs: readability, wordiness. ( #1365 )
...
* hx-on: Added to Reference page, and revised docs, removed words.
* hx-on: Made first sample a <div> to showcase versatility.
* Minor revision.
* Minor revision.
* Fixed broken Locality of Behavior link.
2023-04-13 12:17:13 -06:00
Carson Gross
926cfb02f0
fixes from master
2023-04-11 10:07:27 -06:00
Daniel J. Summers
b0088a602f
Incorporate doc changes in dev branch
2023-04-05 22:24:23 -04:00
Daniel J. Summers
f690d92834
Replace www directory
2023-03-18 11:29:38 -04:00