element-plus
Version:
A Component Library for Vue3.0
15 lines (14 loc) • 622 B
TypeScript
import { ComputedRef } from 'vue';
import { Store, AnyObject, TableLayout } from '../table.type';
declare function useUtils(store: Store, layout: TableLayout, shouldUpdateHeight: ComputedRef<unknown>): {
setCurrentRow: (row: AnyObject) => void;
toggleRowSelection: (row: any, selected: any) => void;
clearSelection: () => void;
clearFilter: (columnKeys: string[]) => void;
toggleAllSelection: () => void;
toggleRowExpansion: (row: any, expanded: any) => void;
clearSort: () => void;
doLayout: () => void;
sort: (prop: any, order: any) => void;
};
export default useUtils;