21 Commits

Author SHA1 Message Date
Itamar Haber
80e5629412
[DOC] Adds a reference to hx-swap from SSE extension (#2293)
Adds a reference to `hx-swap`

Fixes #2197
2024-02-15 12:42:45 -05:00
Katrina Grace
807197e5b7
Remove incorrect external script info from client-side-templates docs (#2184)
I don't know why this was in here in the first place, it's just outright false. Neither Mustache nor the CST extension have any sort of code to enable using `<script type="text/mustache">` like this. The `<object>`-based example for XSLT templates should probably be double-checked too.
2024-01-12 00:23:46 -05:00
Carson Gross
71c3f2a9a9 fix build 2023-12-21 18:34:09 -07:00
Jyri-Matti Lähteenmäki
7866258936
add extension to populate path variables with request parameters (#1307)
* add extension to populate path variables with request parameters

* update extension readme
2023-12-13 18:31:28 -07:00
Carson Gross
5cd5f927ba Merge branch 'master' into dev 2023-11-02 15:12:37 -06:00
phpfan72
3540283347
Add hx-target-error attribute to response-targets extension (#1929)
* Update response-targets.js

Add hx-target-error logic

* Update response-targets.md

add documentation and fix typo
2023-10-31 16:24:43 -06:00
Jason Jōb
142b711903
Fixed ws and sse references in the docs (#1908)
fixed ws and sse references in the docs
2023-10-20 13:32:40 -04:00
André Rouél
76e0ca1216
Fix Handlebars template rendering (#1836)
Fix Handlebars template rendering (see #801 and #1801)

Co-authored-by: russ4stall <russ@slashpine.tech>
2023-10-06 22:04:58 -06:00
Carson Gross
baf80aed77 remove disable-element extension from the main docs 2023-09-21 16:59:52 -06:00
Jyri-Matti Lähteenmäki
048f98c87b
Extend client-side-templates to handle XSLT transformations (#1210)
extend client-side-templates to handle XSLT transformations
2023-09-19 11:08:11 -05:00
Ari
6e93780d8d
Allow disable-element extension to disable multiple elements (#1650)
* Update disable-element extension

Allow multiple elements to be selected in the query

* Remove unnecessary comments

https://github.com/bigskysoftware/htmx/pull/1650#discussion_r1278773982

* Change tab indentations to spaces
2023-09-14 10:47:21 -06:00
Dave Ashby
e3a68c5e1b
Add support for array templates to the client-side templates extension (#1776)
Fix client-side template support for arrays (non-breaking)

Co-authored-by: Dave Ashby <david.h.ashby.ctr@nga.mil>
2023-09-14 10:41:32 -06:00
Amr Ojjeh
24cd2a0148
Fix typo in multi-swap.md (#1740)
is not possible -> it's impossible
2023-08-29 12:27:32 -04:00
Ben Croker
0831b4e2f3
Update preload extension docs (#1741) 2023-08-29 12:26:36 -04:00
spiffytech
66387c0422
Support hx-target-5xx syntax in response-targets extension (#1629) 2023-08-01 16:13:07 -04:00
wavpro
1c50655b38
Fixed typo in websockets documentation (#1628) 2023-07-29 17:04:43 -04:00
Viktor Szépe
0a471dc4fb
Fix typos in www/ (#1579) 2023-07-17 10:26:27 -04:00
Yann Salaün
8766ad7db4
Fix markdown format (#1583) 2023-07-16 21:22:06 -04:00
Paweł Wilk
7fc5ac5074
response-targets extension with documentation, exposed 3 functions in internal API (#1436)
* findThisElement, getClosestAttributeValue, querySelectorExt exposed in internal API

* Added response-targets extension.

* Extra check for empty element in response-targets.js

* Added test/ext/response-targets.js

* Linked response-targets.md

* Added htmx.config.{responseTargetPrefersExisting, responseTargetPrefersRetargetHeader} configuration options

* Typo fixed (not impacting logic)
2023-05-23 09:46:54 -05:00
joe-no-body
6c1104d371
Fix spelling of idiomorph (#1434) 2023-05-11 13:58:21 -06:00
Daniel J. Summers
f690d92834 Replace www directory 2023-03-18 11:29:38 -04:00