mirror of
https://github.com/bigskysoftware/htmx.git
synced 2026-04-10 04:36:11 +00:00
Merge branch 'bigskysoftware:dev' into dev
This commit is contained in:
30
src/htmx.d.ts
vendored
30
src/htmx.d.ts
vendored
@@ -400,6 +400,36 @@ export interface HtmxConfig {
|
||||
* @default true
|
||||
*/
|
||||
scrollIntoViewOnBoost?: boolean;
|
||||
/**
|
||||
* If set, the nonce will be added to inline scripts.
|
||||
* @default ''
|
||||
*/
|
||||
inlineScriptNonce?: string;
|
||||
/**
|
||||
* The type of binary data being received over the WebSocket connection
|
||||
* @default blob
|
||||
*/
|
||||
wsBinaryType?: Blob;
|
||||
/**
|
||||
* If set to true htmx will include a cache-busting parameter in GET requests to avoid caching partial responses by the browser
|
||||
* @default false
|
||||
*/
|
||||
getCacheBusterParam?: boolean;
|
||||
/**
|
||||
* If set to true, htmx will use the View Transition API when swapping in new content.
|
||||
* @default false
|
||||
*/
|
||||
globalViewTransitions?: boolean;
|
||||
/**
|
||||
* htmx will format requests with these methods by encoding their parameters in the URL, not the request body
|
||||
* @default ["get"]
|
||||
*/
|
||||
methodsThatUseUrlParams?: string[];
|
||||
/**
|
||||
* If set to true htmx will not update the title of the document when a title tag is found in new content
|
||||
* @default false
|
||||
*/
|
||||
ignoreTitle:? boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user