minishouyin/node_modules/antd/es/_util/scrollTo.d.ts
2025-11-12 11:35:57 +08:00

11 lines
351 B
TypeScript

interface ScrollToOptions {
/** Scroll container, default as window */
getContainer?: () => HTMLElement | Window | Document;
/** Scroll end callback */
callback?: () => void;
/** Animation duration, default as 450 */
duration?: number;
}
export default function scrollTo(y: number, options?: ScrollToOptions): void;
export {};