@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>
73 lines (72 loc) • 2.14 kB
TypeScript
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {
anchorRef: HTMLDivElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
size: {
type: import('vue').PropType<import('./types').AnchorSizeT>;
default: string;
};
container: {
type: import('vue').PropType<string | HTMLElement | Window>;
};
bounds: {
type: NumberConstructor;
default: number;
};
targetOffset: {
type: NumberConstructor;
default: number;
};
changeHash: {
type: BooleanConstructor;
default: boolean;
};
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
change: (link: string) => any;
click: (ev: MouseEvent, link?: string | undefined) => any;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
size: {
type: import('vue').PropType<import('./types').AnchorSizeT>;
default: string;
};
container: {
type: import('vue').PropType<string | HTMLElement | Window>;
};
bounds: {
type: NumberConstructor;
default: number;
};
targetOffset: {
type: NumberConstructor;
default: number;
};
changeHash: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
onChange?: ((link: string) => any) | undefined;
onClick?: ((ev: MouseEvent, link?: string | undefined) => any) | undefined;
}>, {
size: "medium" | "small" | "menu";
bounds: number;
targetOffset: number;
changeHash: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
anchorRef: HTMLDivElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};