element-plus
Version:
A Component Library for Vue3.0
14 lines (13 loc) • 465 B
TypeScript
import { WatcherPropsData, AnyObject } from '../table.type';
declare function useCurrent(watcherData: WatcherPropsData): {
setCurrentRowKey: (key: string) => void;
restoreCurrentRowKey: () => void;
setCurrentRowByKey: (key: string) => void;
updateCurrentRow: (_currentRow: AnyObject) => void;
updateCurrentRowData: () => void;
states: {
_currentRowKey: any;
currentRow: any;
};
};
export default useCurrent;