From 748dd0c246ede43f2b64fb85d2a294e5811c47af Mon Sep 17 00:00:00 2001 From: Sascha Woo Date: Thu, 16 Nov 2023 21:36:51 +0100 Subject: [PATCH] Add config option scrollIntoViewOnBoost to typescript defs (#1986) --- src/htmx.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/htmx.d.ts b/src/htmx.d.ts index 2342300c..dbc9f857 100644 --- a/src/htmx.d.ts +++ b/src/htmx.d.ts @@ -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; } /**