@tanstack/vue-router
Version:
Modern and scalable routing for Vue applications
9 lines (8 loc) • 564 B
TypeScript
import * as Vue from 'vue';
/**
* ScrollRestoration component for Vue.
* On server: renders a ScriptOnce with scroll restoration logic.
* On client during hydration: renders a matching ScriptOnce to avoid mismatch.
* After mount: renders nothing.
*/
export declare const ScrollRestoration: Vue.DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, {}, string, Vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, Vue.ComponentProvideOptions, true, {}, any>;