UNPKG

t-fighting-design

Version:

Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.

115 lines (114 loc) 3.79 kB
import type { BackTopBehaviorType, BackTopHandleScrollInterface } from './src/interface.d'; import type { DefineComponent, PropType, Ref, ComputedRef, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue'; import type { InstallType, OrdinaryFunctionInterface } from '../_interface'; import BackTop from "./src/back-top"; export declare const FBackTop: InstallType<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: BackTopHandleScrollInterface; handleClick: OrdinaryFunctionInterface; 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 declare type BackTopInstance = InstanceType<typeof BackTop>; export * from './src/interface.d'; export default BackTop;