props.js
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
"use strict";
var uni_modules_uviewPlus_libs_config_props = require("../../libs/config/props.js");
var props = {
props: {
loading: {
type: Boolean,
default: uni_modules_uviewPlus_libs_config_props.defprops.switch.loading
},
disabled: {
type: Boolean,
default: uni_modules_uviewPlus_libs_config_props.defprops.switch.disabled
},
size: {
type: [String, Number],
default: uni_modules_uviewPlus_libs_config_props.defprops.switch.size
},
activeColor: {
type: String,
default: uni_modules_uviewPlus_libs_config_props.defprops.switch.activeColor
},
inactiveColor: {
type: String,
default: uni_modules_uviewPlus_libs_config_props.defprops.switch.inactiveColor
},
modelValue: {
type: [Boolean, String, Number],
default: uni_modules_uviewPlus_libs_config_props.defprops.switch.value
},
activeValue: {
type: [String, Number, Boolean],
default: uni_modules_uviewPlus_libs_config_props.defprops.switch.activeValue
},
inactiveValue: {
type: [String, Number, Boolean],
default: uni_modules_uviewPlus_libs_config_props.defprops.switch.inactiveValue
},
asyncChange: {
type: Boolean,
default: uni_modules_uviewPlus_libs_config_props.defprops.switch.asyncChange
},
space: {
type: [String, Number],
default: uni_modules_uviewPlus_libs_config_props.defprops.switch.space
}
}
};
exports.props = props;