comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
141 lines (140 loc) • 5.77 kB
TypeScript
export declare const CuAnchor: {
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
readonly container: {
readonly type: import('vue').PropType<string | HTMLElement | Window>;
readonly default: Window & typeof globalThis;
};
readonly direction: {
readonly type: import('vue').PropType<"horizontal" | "vertical">;
readonly default: "vertical";
};
readonly lineWeight: NumberConstructor;
readonly showLine: BooleanConstructor;
readonly offset: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly size: import('vue').PropType<import('../../utils').ComicSize>;
readonly color: StringConstructor;
readonly duration: {
readonly type: NumberConstructor;
readonly default: 500;
};
readonly anchorAnimation: BooleanConstructor;
}>> & Readonly<{
onChange?: (href: string) => any;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
change: (href: string) => void;
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
readonly container: {
readonly type: import('vue').PropType<string | HTMLElement | Window>;
readonly default: Window & typeof globalThis;
};
readonly direction: {
readonly type: import('vue').PropType<"horizontal" | "vertical">;
readonly default: "vertical";
};
readonly lineWeight: NumberConstructor;
readonly showLine: BooleanConstructor;
readonly offset: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly size: import('vue').PropType<import('../../utils').ComicSize>;
readonly color: StringConstructor;
readonly duration: {
readonly type: NumberConstructor;
readonly default: 500;
};
readonly anchorAnimation: BooleanConstructor;
}>> & Readonly<{
onChange?: (href: string) => any;
}>, {
readonly offset: number;
readonly container: string | Window | HTMLElement;
readonly direction: "vertical" | "horizontal";
readonly showLine: boolean;
readonly duration: number;
readonly anchorAnimation: boolean;
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import('vue').ExtractPropTypes<{
readonly container: {
readonly type: import('vue').PropType<string | HTMLElement | Window>;
readonly default: Window & typeof globalThis;
};
readonly direction: {
readonly type: import('vue').PropType<"horizontal" | "vertical">;
readonly default: "vertical";
};
readonly lineWeight: NumberConstructor;
readonly showLine: BooleanConstructor;
readonly offset: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly size: import('vue').PropType<import('../../utils').ComicSize>;
readonly color: StringConstructor;
readonly duration: {
readonly type: NumberConstructor;
readonly default: 500;
};
readonly anchorAnimation: BooleanConstructor;
}>> & Readonly<{
onChange?: (href: string) => any;
}>, {}, {}, {}, {}, {
readonly offset: number;
readonly container: string | Window | HTMLElement;
readonly direction: "vertical" | "horizontal";
readonly showLine: boolean;
readonly duration: number;
readonly anchorAnimation: boolean;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
readonly container: {
readonly type: import('vue').PropType<string | HTMLElement | Window>;
readonly default: Window & typeof globalThis;
};
readonly direction: {
readonly type: import('vue').PropType<"horizontal" | "vertical">;
readonly default: "vertical";
};
readonly lineWeight: NumberConstructor;
readonly showLine: BooleanConstructor;
readonly offset: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly size: import('vue').PropType<import('../../utils').ComicSize>;
readonly color: StringConstructor;
readonly duration: {
readonly type: NumberConstructor;
readonly default: 500;
};
readonly anchorAnimation: BooleanConstructor;
}>> & Readonly<{
onChange?: (href: string) => any;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
change: (href: string) => void;
}, string, {
readonly offset: number;
readonly container: string | Window | HTMLElement;
readonly direction: "vertical" | "horizontal";
readonly showLine: boolean;
readonly duration: number;
readonly anchorAnimation: boolean;
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
$slots: {
default?(_: {}): any;
};
}) & {
install?: (app: import('vue').App) => void;
};