UNPKG

tdesign-mobile-vue

Version:
124 lines (123 loc) 5.1 kB
import './style'; import { TdBackTopProps } from './type'; export * from './type'; export type BackTopProps = TdBackTopProps; export declare const BackTop: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{ container: { type: import("vue").PropType<() => HTMLElement>; }; fixed: { type: BooleanConstructor; default: boolean; }; icon: { type: import("vue").PropType<boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; default: boolean; }; target: { type: import("vue").PropType<() => HTMLElement>; }; text: { type: StringConstructor; default: string; }; theme: { type: import("vue").PropType<"half-round" | "half-round-dark" | "round" | "round-dark">; default: "half-round" | "half-round-dark" | "round" | "round-dark"; validator(val: "half-round" | "half-round-dark" | "round" | "round-dark"): boolean; }; visibilityHeight: { type: NumberConstructor; default: number; }; onToTop: import("vue").PropType<() => void>; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, { fixed: boolean; icon: boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue); text: string; theme: "half-round" | "half-round-dark" | "round" | "round-dark"; visibilityHeight: number; }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import("vue").ExtractPropTypes<{ container: { type: import("vue").PropType<() => HTMLElement>; }; fixed: { type: BooleanConstructor; default: boolean; }; icon: { type: import("vue").PropType<boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; default: boolean; }; target: { type: import("vue").PropType<() => HTMLElement>; }; text: { type: StringConstructor; default: string; }; theme: { type: import("vue").PropType<"half-round" | "half-round-dark" | "round" | "round-dark">; default: "half-round" | "half-round-dark" | "round" | "round-dark"; validator(val: "half-round" | "half-round-dark" | "round" | "round-dark"): boolean; }; visibilityHeight: { type: NumberConstructor; default: number; }; onToTop: import("vue").PropType<() => void>; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, { fixed: boolean; icon: boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue); text: string; theme: "half-round" | "half-round-dark" | "round" | "round-dark"; visibilityHeight: number; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{ container: { type: import("vue").PropType<() => HTMLElement>; }; fixed: { type: BooleanConstructor; default: boolean; }; icon: { type: import("vue").PropType<boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; default: boolean; }; target: { type: import("vue").PropType<() => HTMLElement>; }; text: { type: StringConstructor; default: string; }; theme: { type: import("vue").PropType<"half-round" | "half-round-dark" | "round" | "round-dark">; default: "half-round" | "half-round-dark" | "round" | "round-dark"; validator(val: "half-round" | "half-round-dark" | "round" | "round-dark"): boolean; }; visibilityHeight: { type: NumberConstructor; default: number; }; onToTop: import("vue").PropType<() => void>; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, { fixed: boolean; icon: boolean | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue); text: string; theme: "half-round" | "half-round-dark" | "round" | "round-dark"; visibilityHeight: number; }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin; export default BackTop;