sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
21 lines (20 loc) • 734 B
TypeScript
export interface UseFormPopoutProps {
visible?: boolean;
modelValue?: any;
validateEvent?: boolean;
}
export interface UseFormPopoutEmits {
(e: 'update:visible', visible: boolean): void;
(e: 'update:model-value', ...args: any[]): void;
(e: 'change', ...args: any[]): void;
}
export declare function useFormPopout(props: UseFormPopoutProps, emit: UseFormPopoutEmits, options?: {
onChange?: (...args: any[]) => void;
onConfirmBefore?: () => any;
}): {
innerVisible: import("vue").Ref<boolean | undefined, boolean | undefined>;
innerValue: import("vue").Ref<any, any>;
popoutValue: import("vue").Ref<any, any>;
onChange: (value: any, ...args: any[]) => void;
onConfirm: () => void;
};