mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
Add config option scrollIntoViewOnBoost to typescript defs (#1986)
This commit is contained in:
parent
31908e4839
commit
748dd0c246
5
src/htmx.d.ts
vendored
5
src/htmx.d.ts
vendored
@ -395,6 +395,11 @@ export interface HtmxConfig {
|
|||||||
* @default false
|
* @default false
|
||||||
*/
|
*/
|
||||||
selfRequestsOnly?: boolean;
|
selfRequestsOnly?: boolean;
|
||||||
|
/**
|
||||||
|
* Whether or not the target of a boosted element is scrolled into the viewport.
|
||||||
|
* @default true
|
||||||
|
*/
|
||||||
|
scrollIntoViewOnBoost?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user