UNPKG

hongluan-ui

Version:
7 lines (6 loc) 505 B
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; };