tyh-ui2
Version:
The next generation ui component library of tyh-ui is based on vue3 Version, fully embrace vue3.
49 lines (48 loc) • 1.62 kB
TypeScript
import type { backTopBehavior } from './interface';
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
declare const _sfc_main: DefineComponent<{
readonly bottom: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly right: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly beyond: {
readonly type: NumberConstructor;
readonly default: () => number;
};
readonly behavior: {
readonly type: PropType<backTopBehavior>;
readonly default: () => backTopBehavior;
readonly validator: (val: backTopBehavior) => boolean;
};
}, {
prop: Readonly<{
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
right: string;
bottom: string;
beyond: number;
behavior: backTopBehavior;
}>;
isShow: Ref<boolean>;
handleScroll: () => () => void;
toTop: () => void;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly bottom?: unknown;
readonly right?: unknown;
readonly beyond?: unknown;
readonly behavior?: unknown;
} & {
right: string;
bottom: string;
beyond: number;
behavior: backTopBehavior;
} & {}>, {
right: string;
bottom: string;
beyond: number;
behavior: backTopBehavior;
}>;
export default _sfc_main;