tdesign-vue-next
Version:
TDesign Component for vue-next
13 lines (12 loc) • 360 B
TypeScript
import { InjectionKey } from 'vue';
export declare const AnchorInjectionKey: InjectionKey<{
registerLink: (link: string) => void;
unregisterLink: (link: string) => void;
handleScrollTo: (link: string) => void;
handleLinkClick: (link: {
href: string;
title: string;
e: MouseEvent;
}) => void;
active: string;
}>;