hongluan-ui
Version:
Hongluan Component Library for Vue 3
9 lines (8 loc) • 314 B
TypeScript
import type { ComputedRef, Ref } from 'vue';
import type { ColumnType, ScrollContainer } from '../simple-table';
declare function useScroll(scrollContainer: ScrollContainer, cols: ComputedRef<{
realCols: ColumnType[];
}>, table: Ref<HTMLTableElement>): {
scrollClass: Ref<string>;
};
export { useScroll };