You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
350 B
11 lines
350 B
interface ScrollToOptions {
|
|
/** Scroll container, default as window */
|
|
getContainer?: () => HTMLElement | Window | Document;
|
|
/** Scroll end callback */
|
|
callback?: () => any;
|
|
/** Animation duration, default as 450 */
|
|
duration?: number;
|
|
}
|
|
export default function scrollTo(y: number, options?: ScrollToOptions): void;
|
|
export {};
|