26 Commits

Author SHA1 Message Date
William Jackson
efcc6b2211
Add descriptions for /headers/* and /api (#3221)
* Add descriptions for /headers/* and /api

* Add a missing space in a description
2025-03-05 20:58:38 -07:00
Sascha Woo
df73ff2a7a
Add missing disableInheritance documentation (#3017) 2024-11-13 16:05:04 +01:00
Carson Gross
5b2fe2c19c move general extension docs back to htmx.org/extensions and include core extension documentation on the site 2024-10-03 18:52:59 -06:00
Carson Gross
b8c92b8071 Merge branch 'master' into dev 2024-09-25 12:07:51 -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
MichaelWest22
0023cd85f0
[Documentation] Config default update for methodsThatUseUrlParams (#2911)
Config default update
2024-09-16 10:09:38 +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
Carson Gross
f38e057397 Merge branch 'master' into dev 2024-07-11 18:50:16 -06:00
Paul Garner
d9eb6d74f8
HtmxAjaxHelperContext typedef should have all optional fields (#2701)
* all fields of HtmxAjaxHelperContext should be optional

* update docs for htmx.ajax to describe purpose of source field in context
2024-07-08 11:49:10 -06:00
Vincent
edac767fd9
Fix selfRequestsOnly doc (defaults to true in htmx 2) #2546 #2669 (#2674) 2024-06-27 13:36:31 -06:00
Carson Gross
40b55c4a10 2.0 docs scrub 2024-06-03 11:01:45 -06:00
Carson Gross
20b42aaf88 Merge branch 'master' into dev
# Conflicts:
#	src/htmx.d.ts
#	src/htmx.js
#	test/core/security.js
#	www/content/docs.md
2024-05-16 12:50:13 -06:00
Marcos Pereira
ab458e7143
feat: Add inlineSlyeNonce configuration (#2542) 2024-05-15 12:06:40 -06:00
lookbusy1344
f9591c9790
More explicit explanation of htmx.config.getCacheBusterParam (#2376)
* More explicit explanation of htmx.config.getCacheBusterParam

* Small formatting fixes
2024-04-25 12:36:50 -04:00
Carson Gross
45dd5f168d move all references to extensions over to the new site/repo 2024-03-26 16:37:26 -06: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
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
242f6631fa Merge remote-tracking branch 'origin/master' into dev
# Conflicts:
#	www/content/docs.md
2023-11-16 16:53:23 -07:00
Jacob Scott
cabff5db14
Add select option to htmx.ajax() (#1985)
adds select to ajax api
2023-11-16 13:37:38 -07:00
Vincent
9c87f40bd4
Homogenize configuration docs (#1973)
* Homogenize configuration docs

* Remove source change
2023-11-10 14:23:28 -05:00
Sascha Woo
f2d776c151
Add config option to disable scroll into view for targets of boosted links and forms (#1459)
Thank you @xhaggi
2023-11-03 13:42:20 -05:00
Ben Croker
7924e76daf
Add allowScriptTags to docs (#1770)
Add `allowScriptTags`
2023-09-07 19:31:15 -04:00
Viktor Szépe
0a471dc4fb
Fix typos in www/ (#1579) 2023-07-17 10:26:27 -04:00
Alexander Petros
fe4a803e2e
Add logNone function and apply it to tests (#1504)
New function to turn off the logger after using `logAll()`. I applied to
this to the tests as well so that `logAll()` is only used in the specfic
places where debug output is required. This makes the console output of
the tests dramatically more useful when run from the command line.
2023-06-24 14:21:55 -06:00
Daniel J. Summers
f690d92834 Replace www directory 2023-03-18 11:29:38 -04:00