UNPKG

comic-plus

Version:

<p align="center"> <img width="200px" src="./logo.png"/> </p>

32 lines (30 loc) 1.03 kB
import { ExtractPropTypes, PropType } from 'vue'; import { ComicSize } from '../../../utils'; export declare const anchorProps: { readonly container: { readonly type: PropType<string | HTMLElement | Window>; readonly default: Window & typeof globalThis; }; readonly direction: { readonly type: PropType<"horizontal" | "vertical">; readonly default: "vertical"; }; readonly lineWeight: NumberConstructor; readonly showLine: BooleanConstructor; readonly offset: { readonly type: NumberConstructor; readonly default: 0; }; readonly size: PropType<ComicSize>; readonly color: StringConstructor; readonly duration: { readonly type: NumberConstructor; readonly default: 500; }; readonly anchorAnimation: BooleanConstructor; }; export type AnchorProps = ExtractPropTypes<typeof anchorProps>; export declare const anchorEmits: { change: (href: string) => boolean; }; export type AnchorEmits = typeof anchorEmits;