@fe6/water-pro
Version:
An enterprise-class UI design language and Vue-based implementation
12 lines (11 loc) • 570 B
TypeScript
/** @format */
import type { TableProProps, TableRowSelection, BasicColumn } from '../types/table';
import type { Ref, ComputedRef } from 'vue';
export declare function useTableScroll(propsRef: ComputedRef<TableProProps>, tableElRef: Ref<ComponentRef>, columnsRef: ComputedRef<BasicColumn[]>, rowSelectionRef: ComputedRef<TableRowSelection<any> | null>, getDataSourceRef: ComputedRef<Recordable[]>): {
getScrollRef: ComputedRef<{
x: string | number | true;
y: number;
scrollToFirstRowOnChange: boolean;
}>;
redoHeight: () => void;
};