t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
112 lines (111 loc) • 3.58 kB
TypeScript
import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, Ref, ComputedRef, CSSProperties } from 'vue';
import type { BackTopBehaviorType, BackTopHandleScrollInterface as a } from './interface';
import type { OrdinaryFunctionInterface as b } from '../../_interface';
declare const _sfc_main: DefineComponent<{
readonly round: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly behavior: {
readonly type: PropType<BackTopBehaviorType>;
readonly default: () => BackTopBehaviorType;
readonly validator: (val: BackTopBehaviorType) => boolean;
};
readonly visibleHeight: {
readonly type: NumberConstructor;
readonly default: () => number;
readonly validator: (val: number) => boolean;
};
readonly right: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly bottom: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly zIndex: {
readonly type: NumberConstructor;
readonly default: () => number;
readonly validator: (val: number) => boolean;
};
readonly top: {
readonly type: NumberConstructor;
readonly default: () => number;
readonly validator: (val: number) => boolean;
};
readonly listenEl: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly background: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
}, {
prop: {
readonly round?: unknown;
readonly behavior?: unknown;
readonly visibleHeight?: unknown;
readonly right?: unknown;
readonly bottom?: unknown;
readonly zIndex?: unknown;
readonly top?: unknown;
readonly listenEl?: unknown;
readonly background?: unknown;
readonly color?: unknown;
} & {
round: boolean;
background: string;
color: string;
behavior: BackTopBehaviorType;
visibleHeight: number;
right: string | number;
bottom: string | number;
zIndex: number;
top: number;
listenEl: string;
} & {};
visible: Ref<boolean>;
handleScroll: a;
handleClick: b;
styleList: ComputedRef<CSSProperties>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly round?: unknown;
readonly behavior?: unknown;
readonly visibleHeight?: unknown;
readonly right?: unknown;
readonly bottom?: unknown;
readonly zIndex?: unknown;
readonly top?: unknown;
readonly listenEl?: unknown;
readonly background?: unknown;
readonly color?: unknown;
} & {
round: boolean;
background: string;
color: string;
behavior: BackTopBehaviorType;
visibleHeight: number;
right: string | number;
bottom: string | number;
zIndex: number;
top: number;
listenEl: string;
} & {}>, {
round: boolean;
background: string;
color: string;
behavior: BackTopBehaviorType;
visibleHeight: number;
right: string | number;
bottom: string | number;
zIndex: number;
top: number;
listenEl: string;
}>;
export default _sfc_main;