沙盘演示系统应用的微信小程序
zuoxiao
2024-10-18 35cd1fc2e97ee8c8ec93d632cfc6b8b90e7a6e2b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
declare type ControlInstance = {
    controlled: boolean;
    initValue: any;
    set(newVal: any, extObj?: Object, fn?: any): void;
    get(): any;
    change(newVal: any, customChangeData?: any, customUpdateFn?: any): void;
};
declare type ControlOption = {
    valueKey?: string;
    defaultValueKey?: string;
    changeEventName?: string;
    strict?: boolean;
};
declare function useControl(this: any, option?: ControlOption): ControlInstance;
export { ControlOption, ControlInstance, useControl };