UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

12 lines (11 loc) 456 B
export { setScrollPosition }; export { autoSaveScrollPosition }; export { scrollToHashOrTop }; export type { ScrollTarget }; import { type ScrollPosition } from './history.js'; type ScrollTarget = undefined | { preserveScroll: boolean; } | ScrollPosition; declare function setScrollPosition(scrollTarget: ScrollTarget, url?: string): void; declare function scrollToHashOrTop(hash: null | string): void; declare function autoSaveScrollPosition(): void;