Files
crawlab/frontend/crawlab-ui/typings/components/ui/table/action.d.ts

17 lines
394 B
Go

import { Ref } from 'vue';
declare const useAction: (
emit: Function,
table: Ref,
actionFunctions?: ListLayoutActionFunctions
) => {
selection: Ref<TableAnyRowData[]>;
onSelectionChange: (value: TableData) => void;
onAdd: () => void;
onEdit: () => Promise<void>;
onDelete: () => Promise<void>;
onExport: () => void;
clearSelection: () => void;
};
export default useAction;