package.json
5.72 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"name": "@bootstrap-vue/form-checkbox",
"version": "1.0.0",
"meta": {
"title": "Form Checkbox",
"description": "Custom checkbox input and checkbox group to replace the browser default checkbox input, built on top of semantic and accessible markup. Optionally supports switch styling.",
"components": [
{
"component": "BFormCheckboxGroup",
"aliases": [
"BCheckboxGroup",
"BCheckGroup"
],
"props": [
{
"prop": "ariaInvalid",
"description": "Sets the 'aria-invalid' attribute value on the wrapper element. When not provided, the 'state' prop will control the attribute"
},
{
"prop": "buttonVariant",
"description": "Specifies the Bootstrap contextual color theme variant the apply to the button style checkboxes"
},
{
"prop": "buttons",
"description": "When set, renderes the checkboxes in this group with button styling"
},
{
"prop": "checked",
"description": "The current value of the checked checkboxes in the group. Must be an array when there are multiple checkboxes"
},
{
"prop": "size",
"description": "Set the size of the component's appearance. 'sm', 'md' (default), or 'lg'"
},
{
"prop": "stacked",
"description": "When set, renders the checkbox group in stacked mode"
},
{
"prop": "switches",
"description": "When set, renders the checkboxes in the group with switch styling"
},
{
"prop": "validated",
"description": "When set, adds the Bootstrap class 'was-validated' to the group wrapper"
}
],
"events": [
{
"event": "change",
"description": "Emitted when selected value(s) is changed due to user interaction",
"args": [
{
"arg": "checked",
"type": "Array",
"description": "Value of checkboxes. Value will be an array"
}
]
},
{
"event": "input",
"description": "Emitted when the checked value is changed",
"args": [
{
"arg": "checked",
"type": "Array",
"description": "Value of checkboxes. Value will be an array"
}
]
}
],
"slots": [
{
"name": "default",
"description": "Content (form checkboxes) to place in the form checkbox group"
},
{
"name": "first",
"description": "Slot to place b-form-checks so that they appear before checks generated from options prop"
}
]
},
{
"component": "BFormCheckbox",
"aliases": [
"BCheckbox",
"BCheck"
],
"props": [
{
"prop": "button",
"description": "When set, renders the checkbox with the appearance of a button"
},
{
"prop": "buttonVariant",
"description": "Applies on of Bootstrap's theme colors when in 'button' mode"
},
{
"prop": "checked",
"description": "The current value of the checkbox(es). Must be an array when there are multiple checkboxes bound to the same v-model"
},
{
"prop": "indeterminate",
"description": "Renders the checkbox in an indeterminate state. Syncable via the .sync modifier"
},
{
"prop": "inline",
"description": "When set, renders the checkbox as an inline element rather than as a 100% width block"
},
{
"prop": "size",
"description": "Set the size of the component's appearance. 'sm', 'md' (default), or 'lg'"
},
{
"prop": "switch",
"description": "When set, renders the checkbox with the appearance of a switch"
},
{
"prop": "uncheckedValue",
"description": "Value returned when this checkbox is unchecked. Note not applicable when multiple checkboxes bound to the same v-model array"
},
{
"prop": "value",
"description": "Value returned when this checkbox is checked"
}
],
"events": [
{
"event": "change",
"description": "Emitted when selected value(s) is changed due to user interaction",
"args": [
{
"arg": "checked",
"type": [
"Boolean",
"String",
"Number",
"Object",
"Array"
],
"description": "Value of checkbox(es). When bound to multiple checkboxes, value will be an array"
}
]
},
{
"event": "input",
"description": "Emitted when the selected value(s) is changed",
"args": [
{
"arg": "checked",
"type": [
"Boolean",
"String",
"Number",
"Object",
"Array"
],
"description": "Value of checkbox(es). When bound to multiple checkboxes, value will be an array"
}
]
}
],
"slots": [
{
"name": "default",
"description": "Content to place in the form checkbox"
}
]
}
]
}
}