hongluan-ui
Version:
Hongluan Component Library for Vue 3
7 lines (6 loc) • 505 B
TypeScript
import type { SetupContext } from 'vue';
import type { TransferCheckedState, TransferEmits, TransferKey, TransferProps } from '../transfer';
export declare const useCheckedChange: (checkedState: TransferCheckedState, emit: SetupContext<TransferEmits>['emit'], props: TransferProps, addToLeft: () => void, addToRight: () => void) => {
onSourceCheckedChange: (val: TransferKey[], movedKeys?: TransferKey[]) => void;
onTargetCheckedChange: (val: TransferKey[], movedKeys?: TransferKey[]) => void;
};