Files
icehrm/web/node_modules/antd/lib/_util/scrollTo.d.ts
2020-05-20 18:47:29 +02:00

11 lines
350 B
TypeScript

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 {};