148 Commits

Author SHA1 Message Date
Wim Deblauwe
ea3beae7a7
Add extra notes on how the CSS for htmx-indicator works (#1025) 2022-09-06 07:05:34 -06:00
David Guillot
d6037bde67
Minor changes in docs (#1033)
* Minor change in active-search docs

You don't want people to believe they need a POST request to run a search query.

* More limitations of hx-preserve
2022-09-06 07:05:19 -06:00
Daniel J. Summers
8e43f32019
Add docs for HX-Replace-Url header (#972)
- Fix links on hx-replace-url attribute page
- Sort headers alphabetically on reference page
2022-07-20 06:46:46 -06:00
Carson Gross
0a5fc2cdb9 Merge branch 'master' into dev
# Conflicts:
#	www/docs.md
2022-06-16 14:12:41 -06:00
Carson Gross
87e69fcd69 introduce hx-replace-url
fixes https://github.com/bigskysoftware/htmx/issues/436
2022-06-16 13:22:48 -06:00
Carson Gross
05619c5bec support the hx-select-oob attribute 2022-05-31 13:30:34 -06:00
Nathaniel Sabanski
e350ea2676
Update hx-boost.md (#909) 2022-05-26 17:02:59 -06:00
Dosenpfand
a576327c74
Fix dead links, typo, trailing white spaces (#924) 2022-05-26 17:02:30 -06:00
Carson Gross
bcd68ad437 example of boosted form 2022-05-13 09:09:58 -06:00
Felix Ingram
caf838f2de
Update hx-boost.md (#874) 2022-05-12 16:47:59 -06:00
Ben Croker
96a3f45b59
Added heading for clarity 2022-04-29 21:39:03 +02:00
Ben Croker
4f3bb039b3
Removed hard-coded number 2022-04-29 21:36:59 +02:00
msladecek
9dfc713191
fix links to web-sockets extension page (#841) 2022-04-07 13:41:20 -06:00
Adam Johnson
ee5c96b399
Improve HX-Push and hx-push-url documentation (#853)
Expand descriptions, remove duplicate information on HX-Push, and add relevant links to MDN and `hx-history-elt`.
2022-04-07 13:38:00 -06:00
Adam Johnson
3ddf162d78
Document outerHTML limitation on <body> (#871)
Fixes #790.
2022-04-07 13:30:03 -06:00
Alejandro Schmeichler
d6321dfe22
Expand focus-scroll usage info (#829) 2022-02-17 11:04:46 -07:00
carson
0e1e3c68a2 docs for release 2022-02-17 06:30:15 -07:00
Alejandro Schmeichler
c49ce64d2d
Docs: add hx-vals example using the event object (#825) 2022-02-17 06:15:48 -07:00
carson
d4d20eb1b5 docs work 2022-02-16 20:20:06 -07:00
Ben Pate
546e346e98
Restore hx-ws and hx-sse tags (#811)
absolute 👑 

* Restore WS and SSE code

First pass at restoring removed ws and sse code.  More to come.

* More progress on WS and SSE restore

* Update htmx.js

crucial whitespace

* Update documentation

* Combine SSE and WS servers into single "realtime" demo

* Realtime Test Server Updates

- separated tests for old- and new- style calling
- updated intro content and stylesheet
- removed extensions from manual test suite

* Remove SSE/WS from manual tests
2022-02-12 11:11:30 -07:00
Alejandro Schmeichler
eb1367fb11
Add hx-sync examples (#804)
* Add hx-sync examples

* Add loading-states extension

* Oops
2022-02-10 13:01:31 -07:00
carson
3c3063425e fix docs 2022-02-05 17:14:20 -07:00
carson
34bcd81c15 hx-sync docs 2022-02-05 17:13:59 -07:00
carson
051084af49 merge hx-disinherit and clean up target, etc. 2022-02-04 16:22:09 -07:00
carson
c7f4f360d1 Merge branch 'dev' into pull/753
# Conflicts:
#	src/htmx.js
2022-02-04 11:16:59 -07:00
carson
82016a7ba5 Merge remote-tracking branch 'origin/master' into dev 2022-02-04 10:55:52 -07:00
Adam McKay
fd7009dccd
Update docs for OOB swaps in top level (#783) 2022-02-04 10:54:04 -07:00
carson
bc8eef16ef Merge remote-tracking branch 'origin/master' into dev
# Conflicts:
#	www/attributes/hx-preserve.md
2022-02-04 10:51:54 -07:00
Adam Johnson
4b572b8e3d
Clarify hx-preserve docs (#798)
I mistakenly thought that I could mark a (third party) node with `hx-preserve` and it would be carried onto the next page, but this is not the case. This makes sense. I’ve tried to improve the documentation to reflect this, and make the behaviour clearer in general.
2022-02-04 10:51:05 -07:00
carson
9cc0da4244 document hx-preserve limitations 2022-02-04 10:42:11 -07:00
alfonsrv
bce4baa20c Rename hx-inherit to hx-disinherit 2022-01-25 23:27:39 +01:00
alfonsrv
b1de676345 Improved inheritance logic to be more consistent 2022-01-06 17:01:16 +01:00
alfonsrv
d025afe49f hx-inherit tests x documentation 2022-01-06 14:45:12 +01:00
carson
f6cd68ba85 fix docs 2021-12-27 15:40:53 -07:00
Arham Jain
081a99419e added a quick note to the docs for the new mode 2021-11-24 21:23:48 -05:00
carson
ee507565d0 Merge branch 'dev' into pull/660
# Conflicts:
#	src/htmx.js
#	www/extensions.md
2021-11-23 13:43:29 -07: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
Ben Pate
6e3a2738e2 Update legacy pages
not removing pages for hx-sse and hx-ws attributes.  Just marking them as deprecated.
2021-11-17 20:02:24 -07:00
msladecek
038821cca8 swap into all elements matching the out-of-band css selector 2021-11-13 12:10:13 +01:00
1cg
0686aa5399
Merge pull request #611 from jgirardet/patch-1
add missing intersect in reference + a tips when using overflow
2021-11-12 15:23:42 -07:00
1cg
4485268418
Merge pull request #613 from makasaurus/patch-1
445 - Add hx-target="this" example
2021-11-12 15:23:07 -07:00
Jonathan Adly
1ff3886de8
Update hx-prompt.md
Fixed typo
2021-11-05 14:43:28 -04:00
makasaurus
303624b78f
445 - Add hx-target="this" example
Added quick example for a link that can update itself using hx-target="this".
2021-10-09 17:11:09 -04:00
jgirardet
238afcb851
add missing intersect in reference + a tips when using overflow 2021-10-05 20:50:12 +02:00
carson
14e87fc623 Merge remote-tracking branch 'origin/dev' into dev 2021-09-27 07:50:41 -06:00
carson
6754c67b53 Merge branch 'master' into dev
# Conflicts:
#	README.md
2021-09-23 15:44:27 -06:00
Alexander Reelsen
e58ff9518b
Docs: Add missing double ticks in hx-sse docs 2021-09-17 16:45:47 +02:00
Rashad Gover
6dfbbc5689
Update hx-swap.md
Instead of `swap:` I think you meant `show:`. Also changed the single quotes surrounding `:bottom` into backticks so it renders properly as inline code.
2021-09-10 23:19:02 -05:00
carson
1b44728f49 add example of js: prefix for hx-vals
fixes https://github.com/bigskysoftware/htmx/issues/570
2021-09-06 08:47:54 -06:00
carson
da61e7557a Merge branch 'master' into dev 2021-09-06 08:08:44 -06:00