@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) • 627 B
TypeScript
import { InjectionKey, Ref } from 'vue';
import { default as MenuTree } from './menu';
import { MenuSizeT } from './types.ts';
export declare const menuInjectKey: InjectionKey<{
size: Ref<MenuSizeT>;
accordion: Ref<boolean>;
realValue: Ref<string>;
activeNodes: Ref<Array<string | undefined>>;
realExpanded: Ref<Array<string>>;
arrowPosition: Ref<'left' | 'right' | undefined>;
menuTree: MenuTree;
updateModelValue: (val: string) => void;
updateExpanded: (val: Array<string>) => void;
}>;
export declare const subMenuInjectKey: InjectionKey<{
value: string;
parentDepth: number;
}>;