2079 Commits

Author SHA1 Message Date
Luis Eduardo
27b5bcc438
Improved documentation for htmx:confirm event and examples for implementing sweetalert (#2926)
* Add detail.question and detail.issueRequest(skipConfirmation=false) documentation to htmx:confirm event

* Update htmx:confirm event documentation

* Update htmx:confirm event documentation

* Update htmx:confirm event documentation

* Modify htmx:confirm event documentation
2024-09-25 09:39:28 +02:00
Brooke Kuhlmann
44c4de41cc
Added htmx before transition reference link (#2929)
This is missing from the reference page but properly documented on the events page. This simply links the two together so anyone can quickly jump between the two.

Milestone: patch
2024-09-25 09:29:56 +02:00
Carson Gross
1ef814b0be Merge remote-tracking branch 'origin/master' 2024-09-22 20:39:18 -06:00
Carson Gross
9fd8aa80b5 lmao 2024-09-22 20:39:08 -06:00
gparmigiani
b4aff2340d
add F# server-examples (#2886)
add F# server-examples.md
2024-09-22 12:07:17 -04:00
Jon Sterling
653794436b
fix typo in rest-explained.md (#2924) 2024-09-22 12:02:40 -04:00
Carson Gross
b71af75f1a fix 2024-09-20 11:11:05 -06:00
Carson Gross
c2a29ce574 Merge remote-tracking branch 'origin/master' 2024-09-20 10:48:36 -06:00
Carson Gross
d61b000d73 add Tony's essay 2024-09-20 10:48:26 -06:00
Ben Croker
02aa8fd718
Fix docs for htmx.config.scrollBehavior (#2918)
* Update docs.md

* Update reference.md

* Update api.md

* Fix links

---------

Co-authored-by: Vincent <vichenzo-thebaud@hotmail.com>
2024-09-19 09:33:37 +02:00
Keeper-of-the-Keys
7f8105a905
[Documentation] Add more information about other swap strategies (#2889)
* Add more information about other swap strategies

* Change suggested by @MichaelWest22

* Grammar error as per comments from @Telroshan

* Clarification requested by @Telroshan
2024-09-18 09:22:43 +02:00
MichaelWest22
0023cd85f0
[Documentation] Config default update for methodsThatUseUrlParams (#2911)
Config default update
2024-09-16 10:09:38 +02:00
MichaelWest22
6ce6a1a77b
Documentation 3xx redirects can't send headers (#2904)
* 3xx redirects can't send headers

* fix response-headers links
2024-09-15 09:29:39 +02:00
shouya
e6a2ea15a2
Documentation for dynamic hx-vals (#2898)
* add test for spread operator in hx-vals

* update documentation

Closes #2885
2024-09-13 10:19:21 +02:00
Carson Gross
2b8acfa2ca Merge remote-tracking branch 'origin/master' 2024-09-10 07:10:10 -06:00
Carson Gross
25f26127b9 link ACM paper 2024-09-10 07:10:01 -06:00
MichaelWest22
230262cf93
Documentation of svg oob swaps (#2882)
* Slipery SVGs

* remove a

* Fix typo and punctuation

* Also add code syntax for tags

---------

Co-authored-by: Vincent <vichenzo-thebaud@hotmail.com>
2024-09-08 10:21:56 +02:00
Jared Foy
73f529e3c3
Update hx-select.md (#2881) 2024-09-08 10:10:07 +02:00
Carson Gross
7fc1d61b4f update sponsors 2024-09-02 14:59:20 -06:00
Carson Gross
1ef205da28 Merge remote-tracking branch 'origin/master' 2024-09-02 14:52:40 -06:00
Carson Gross
b25b911ba1 update sponsors 2024-09-02 14:52:32 -06:00
Ben Hoyt
be2e6b4970
Trivial grammar fixes (#2862) 2024-09-02 08:03:43 +02:00
Ben Croker
cd6cdb275e
Ability to add options argument to event listener (#2836)
* Update htmx.js

* Update events.js

* Add fallback value

* Use JSDoc syntax

* Document parameter

* Only accept an object

* Revert change

* Add useCapture

* Update htmx.js

* Add `useCapture` test

* Clean up

* Revert addition of test
2024-08-29 10:36:24 -06:00
Vincent
d152a3c75a
Redirect /extensions to extensions website (#2842) 2024-08-22 15:06:00 -06:00
Alexander Petros
4dfedf4f71
Fix duplicate typo (#2838)
Thanks!
2024-08-21 22:32:39 +02:00
Adam Johnson
bd2dc6564d
Link to htmx:sendError from error description (#2792) 2024-08-20 23:25:23 -04:00
SimunKaracic
4d35ef51e1
Update server-examples.md (#2827)
Add scalatags + zio-http example
2024-08-20 23:21:19 -04:00
Aaron Cunningham
2472bcab98
Update lazy-load.md (#2826)
fixed double-spacing issue in example
2024-08-19 22:29:06 +02:00
MichaelWest22
91901e38b8
fix responseHandling meta example (#2821) 2024-08-16 10:19:31 +02:00
Karol Skolasiński
e47c2f8c25
docs: add missing semicolons (#2820)
Co-authored-by: Karol Skolasiński <karol.skolasinski@7willows.com>
2024-08-16 10:02:50 +02:00
Carson Gross
bee498792c Merge remote-tracking branch 'origin/master' 2024-08-14 12:56:51 -06:00
Carson Gross
bb0ebf642b fix version 2024-08-14 12:56:44 -06:00
MichaelWest22
667636d098
fix cdn typo (#2814) 2024-08-14 10:29:05 +02:00
Carson Gross
eeaad206e8 update sha 2024-08-12 15:06:59 -06:00
Carson Gross
06d9f72f97 Merge remote-tracking branch 'origin/master' into dev 2024-08-12 14:57:04 -06:00
Saman Shahbazi
de98c40271
Fix typo in update-other-content.md (#2809)
fix typo
2024-08-11 10:27:50 +02:00
Adam Johnson
9bae00b698
Update installing download link to v2 (#2791) 2024-08-09 12:07:00 -04:00
ekzyis
f925e83b95
Add HTML comment and catch-all to responseHandling config via <meta> tag (#2793)
* Add HTML comment that was removed

* Add catch-all

---------

Co-authored-by: ekzyis <ekzyis@ekzy.is>
2024-08-09 11:49:24 -04:00
Carson Gross
82355a741d release prep 2024-08-05 13:53:33 -06:00
Carson Gross
97b8c68dd3 release prep 2024-08-05 13:53:08 -06:00
Carson Gross
42343d9194 Merge branch 'master' into dev 2024-08-05 13:41:37 -06:00
Carson Gross
eb32358873 add a catchall to the docs 2024-08-05 13:41:28 -06:00
ekzyis
e2b671d2f5
Fix example for responseHandling config via <meta> tag (#2715)
The current example throws this error:

  htmx.js:2914 SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2)
    at JSON.parse (<anonymous>)
    at parseJSON (htmx.js:816:19)
    at getMetaConfig (htmx.js:4902:14)
    at mergeMetaConfig (htmx.js:4909:24)
    at HTMLDocument.<anonymous> (htmx.js:4917:5)

Co-authored-by: ekzyis <ekzyis@ekzy.is>
2024-08-05 13:40:16 -06:00
M Somerville
13b44b7897
Fix inlineStyleNonce typo in reference (#2785) 2024-08-03 19:45:37 +02:00
Jonas Högman
45d4bec43f
Fix typo in update-other-content.md (#2783)
Co-authored-by: Jonas Hogman <jonas.hogman@seb.se>
2024-08-01 11:27:06 +02:00
Ben Croker
a44a1b3c34
Add ability to trigger an event on another element using HX-Trigger response header (#2768)
* Update htmx.js

* Update htmx.js

* Update headers.js

* Update htmx.js

* Update htmx.js

* Update htmx.js

* Update hx-trigger.md
2024-07-29 10:33:24 -06:00
Jan-Niklas W.
0f70de7c0f
docs: update jetbrains sponsor logo (#2551)
* docs: update jetbrains sponsor logo

* docs: support light and dark theme for jetbrains logo

---------

Co-authored-by: Jan-Niklas Wortmann <jan-niklas.wortmann@jetbrains.com>
2024-07-26 00:32:59 -04:00
Bobae Kang
bc0eebfb3e
Stop center aligning docs nav on small screen (#2740) 2024-07-17 20:09:04 -06:00
Ben Croker
1c1e4faab9
Fix default scrollBehavior value in docs (#2729)
* Update reference.md

* Update htmx.js

* Update reference.md
2024-07-16 08:18:11 +02:00
Ronald Cantillo
1136d26353
fix: example buttons in darkmode (#2719) 2024-07-13 09:17:59 +02:00