We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d45b20 commit 94ed4dbCopy full SHA for 94ed4db
typings.d.ts
@@ -1,12 +1,14 @@
1
-export interface ScrollIntoViewIfNeededOptions {
+interface ScrollIntoViewIfNeededOptions {
2
centerIfNeeded?: boolean;
3
duration?: number;
4
easing?: 'ease' | 'easeIn' | 'easeOut' | 'easeInOut' | 'linear';
5
}
6
7
-export default function(
+declare function scrollIntoViewIfNeeded(
8
node: Element,
9
centerIfNeeded: boolean,
10
options?: ScrollIntoViewIfNeededOptions,
11
finalElement?: Element
12
): void;
13
+
14
+export = scrollIntoViewIfNeeded;
0 commit comments