comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
87 lines (85 loc) • 2.9 kB
TypeScript
declare function menuClick(name: string): void;
declare function __VLS_template(): {
menu?(_: {}): any;
default?(_: {}): any;
};
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
readonly height: {
readonly type: StringConstructor;
readonly default: "100%";
};
readonly offset: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly postion: {
readonly type: import('vue').PropType<"left-top" | "left-bottom" | "right-top" | "right-bottom" | "none">;
readonly default: "right-bottom";
};
readonly hasMenu: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly menuSize: {
readonly type: StringConstructor;
readonly default: "40px";
};
readonly fold: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly scrollbarDisplay: {
readonly type: import('vue').PropType<import('../../../utils').ComicDisplay>;
readonly default: "always";
};
}>, {
changeItemActive: typeof menuClick;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
change: (value: string) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
readonly height: {
readonly type: StringConstructor;
readonly default: "100%";
};
readonly offset: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly postion: {
readonly type: import('vue').PropType<"left-top" | "left-bottom" | "right-top" | "right-bottom" | "none">;
readonly default: "right-bottom";
};
readonly hasMenu: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly menuSize: {
readonly type: StringConstructor;
readonly default: "40px";
};
readonly fold: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly scrollbarDisplay: {
readonly type: import('vue').PropType<import('../../../utils').ComicDisplay>;
readonly default: "always";
};
}>> & Readonly<{
onChange?: (value: string) => any;
}>, {
readonly height: string;
readonly offset: number;
readonly postion: "none" | "left-top" | "left-bottom" | "right-top" | "right-bottom";
readonly hasMenu: boolean;
readonly menuSize: string;
readonly fold: boolean;
readonly scrollbarDisplay: import('../../../utils').ComicDisplay;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};