沙盘演示系统应用的微信小程序
zuoxiao
2024-10-12 d0ba104b6ee00b03a3433e66384952c4a4a892c4
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 };