@opensig/opendesign
Version:
<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>
19 lines (18 loc) • 528 B
TypeScript
import { InjectionKey, Ref } from 'vue';
export declare const anchorInjectKey: InjectionKey<{
addLink: (link: string) => void;
removeLink: (link: string) => void;
/**
* @deprecated 兼容旧版本,计划1.2.0移除
*/
onItemClick: (options: {
event: MouseEvent;
link?: string;
}) => void;
activeLink: Ref<string>;
scrollIntoView: (link: string) => void;
getChangeHash: () => boolean;
}>;
export declare const anchorItemInjectKey: InjectionKey<{
depth: number;
}>;