UNPKG

tdesign-mobile-vue

Version:
124 lines (123 loc) 4.73 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<TdBackTopProps['container']>; }; fixed: { type: BooleanConstructor; default: boolean; }; icon: { type: import("vue").PropType<TdBackTopProps['icon']>; default: boolean; }; target: { type: import("vue").PropType<TdBackTopProps['target']>; }; text: { type: StringConstructor; default: string; }; theme: { type: import("vue").PropType<TdBackTopProps['theme']>; default: TdBackTopProps['theme']; validator(val: TdBackTopProps['theme']): boolean; }; visibilityHeight: { type: NumberConstructor; default: number; }; onToTop: import("vue").PropType<TdBackTopProps['onToTop']>; }>> & 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").TNodeReturnValue); 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<TdBackTopProps['container']>; }; fixed: { type: BooleanConstructor; default: boolean; }; icon: { type: import("vue").PropType<TdBackTopProps['icon']>; default: boolean; }; target: { type: import("vue").PropType<TdBackTopProps['target']>; }; text: { type: StringConstructor; default: string; }; theme: { type: import("vue").PropType<TdBackTopProps['theme']>; default: TdBackTopProps['theme']; validator(val: TdBackTopProps['theme']): boolean; }; visibilityHeight: { type: NumberConstructor; default: number; }; onToTop: import("vue").PropType<TdBackTopProps['onToTop']>; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, { fixed: boolean; icon: boolean | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); 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<TdBackTopProps['container']>; }; fixed: { type: BooleanConstructor; default: boolean; }; icon: { type: import("vue").PropType<TdBackTopProps['icon']>; default: boolean; }; target: { type: import("vue").PropType<TdBackTopProps['target']>; }; text: { type: StringConstructor; default: string; }; theme: { type: import("vue").PropType<TdBackTopProps['theme']>; default: TdBackTopProps['theme']; validator(val: TdBackTopProps['theme']): boolean; }; visibilityHeight: { type: NumberConstructor; default: number; }; onToTop: import("vue").PropType<TdBackTopProps['onToTop']>; }>> & 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").TNodeReturnValue); 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;