UNPKG

@arco-design/web-vue

Version:

Arco Design Vue 2.0: A Vue.js 3 UI Library

9 lines (8 loc) 302 B
import { InjectionKey } from 'vue'; export interface AnchorContext { currentLink: string; addLink: (hash: string, node: HTMLElement) => void; removeLink: () => void; handleClick: (e: Event, hash?: string) => void; } export declare const anchorInjectionKey: InjectionKey<AnchorContext>;