UNPKG

element-plus

Version:

A Component Library for Vue 3

128 lines (127 loc) 6.28 kB
export declare const ElBacktop: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{ readonly visibilityHeight: { readonly type: NumberConstructor; readonly default: 200; }; readonly target: { readonly type: StringConstructor; readonly default: ""; }; readonly right: { readonly type: NumberConstructor; readonly default: 40; }; readonly bottom: { readonly type: NumberConstructor; readonly default: 40; }; }, { COMPONENT_NAME: string; props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ readonly visibilityHeight: { readonly type: NumberConstructor; readonly default: 200; }; readonly target: { readonly type: StringConstructor; readonly default: ""; }; readonly right: { readonly type: NumberConstructor; readonly default: 40; }; readonly bottom: { readonly type: NumberConstructor; readonly default: 40; }; }>> & { onClick?: ((evt: MouseEvent) => any) | undefined; }>>; emit: (event: "click", evt: MouseEvent) => void; ns: { namespace: import("vue").ComputedRef<string>; b: (blockSuffix?: string) => string; e: (element?: string | undefined) => string; m: (modifier?: string | undefined) => string; be: (blockSuffix?: string | undefined, element?: string | undefined) => string; em: (element?: string | undefined, modifier?: string | undefined) => string; bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string; bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string; is: { (name: string, state: boolean | undefined): string; (name: string): string; }; }; el: import("vue").ShallowRef<HTMLElement | undefined>; container: import("vue").ShallowRef<HTMLElement | Document | undefined>; visible: import("vue").Ref<boolean>; backTopStyle: import("vue").ComputedRef<{ right: string; bottom: string; }>; scrollToTop: () => void; handleScroll: () => void; handleClick: (event: MouseEvent) => void; handleScrollThrottled: () => void; ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{ readonly size: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | number>, unknown, unknown, unknown, unknown>; readonly color: import("element-plus/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, unknown, unknown>; }, { props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{ readonly size: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | number>, unknown, unknown, unknown, unknown>; readonly color: import("element-plus/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, unknown, unknown>; }>> & { [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined; }>>; ns: { namespace: import("vue").ComputedRef<string>; b: (blockSuffix?: string) => string; e: (element?: string | undefined) => string; m: (modifier?: string | undefined) => string; be: (blockSuffix?: string | undefined, element?: string | undefined) => string; em: (element?: string | undefined, modifier?: string | undefined) => string; bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string; bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string; is: { (name: string, state: boolean | undefined): string; (name: string): string; }; }; style: import("vue").ComputedRef<import("vue").CSSProperties>; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ readonly size: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | number>, unknown, unknown, unknown, unknown>; readonly color: import("element-plus/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, unknown, unknown>; }>>, { size: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | number>, unknown, unknown>; color: string; }>> & Record<string, any>; CaretTop: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { click: (evt: MouseEvent) => boolean; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ readonly visibilityHeight: { readonly type: NumberConstructor; readonly default: 200; }; readonly target: { readonly type: StringConstructor; readonly default: ""; }; readonly right: { readonly type: NumberConstructor; readonly default: 40; }; readonly bottom: { readonly type: NumberConstructor; readonly default: 40; }; }>> & { onClick?: ((evt: MouseEvent) => any) | undefined; }, { right: number; bottom: number; target: string; visibilityHeight: number; }>> & Record<string, any>; export default ElBacktop; export * from './src/backtop';