element-plus
Version:
A Component Library for Vue3.0
13 lines (12 loc) • 483 B
TypeScript
import { Store, AnyObject } from '../table.type';
declare function useUtils(store: Store): {
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;
sort: (prop: any, order: any) => void;
};
export default useUtils;