element-plus
Version:
A Component Library for Vue 3
7 lines (6 loc) • 317 B
TypeScript
import type { SetupContext } from 'vue';
import type { BacktopEmits, BacktopProps } from './backtop';
export declare const useBackTop: (props: BacktopProps, emit: SetupContext<BacktopEmits>["emit"], componentName: string) => {
visible: import("vue").Ref<boolean>;
handleClick: (event: MouseEvent) => void;
};