Add config option scrollIntoViewOnBoost to typescript defs (#1986)

This commit is contained in:
Sascha Woo 2023-11-16 21:36:51 +01:00 committed by GitHub
parent 31908e4839
commit 748dd0c246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
src/htmx.d.ts vendored
View File

@ -395,6 +395,11 @@ export interface HtmxConfig {
* @default false
*/
selfRequestsOnly?: boolean;
/**
* Whether or not the target of a boosted element is scrolled into the viewport.
* @default true
*/
scrollIntoViewOnBoost?: boolean;
}
/**