Add missing config settings to type declarations in dist/htmx.d.ts (#1936)

Add missing config settings to type declarations in dist/htmx.d.ts
This commit is contained in:
Sam Cook 2023-10-31 17:25:08 -05:00 committed by GitHub
parent 3540283347
commit 225d8d8cac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
dist/htmx.d.ts vendored
View File

@ -385,6 +385,16 @@ export interface HtmxConfig {
disableSelector?: "[hx-disable], [data-hx-disable]" | string;
/** @default "smooth" */
scrollBehavior?: "smooth" | "auto";
/**
* If set to false, disables the interpretation of script tags.
* @default true
*/
allowScriptTags?: boolean;
/**
* If set to true, disables htmx-based requests to non-origin hosts.
* @default false
*/
selfRequestsOnly?: boolean;
}
/**