Skip to content

Commit 76cd16a

Browse files
author
User Jenkins
committed
Sync with Kendo UI Professional
1 parent 66ae6bd commit 76cd16a

File tree

5 files changed

+74
-74
lines changed

5 files changed

+74
-74
lines changed

docs/api/javascript/ui/checkboxgroup.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Sets the enabled state of all checkboxes in the CheckBoxGroup.
2323
<script>
2424
$("#checkboxgroup").kendoCheckBoxGroup({
2525
enabled: false,
26-
items: [ "one", "two", "three" ],
26+
items: [ "one", "two", "three" ]
2727
});
2828
</script>
2929

@@ -52,7 +52,7 @@ Array of items to be rendered as checkboxes in the CheckBoxGroup. If the array c
5252

5353
<script>
5454
$("#checkboxgroup").kendoCheckBoxGroup({
55-
items: [ "one", "two", "three" ],
55+
items: [ "one", "two", "three" ]
5656
});
5757
</script>
5858

@@ -62,16 +62,16 @@ Array of items to be rendered as checkboxes in the CheckBoxGroup. If the array c
6262

6363
<script>
6464
$("#checkboxgroup").kendoCheckBoxGroup({
65-
items: [ {
65+
items: [{
6666
value: "one",
6767
label: "Label one"
6868
},{
6969
value: "two",
7070
label: "Label two"
7171
},{
72-
value: "three"
72+
value: "three",
7373
label: "Label three"
74-
}],
74+
}]
7575
});
7676
</script>
7777

@@ -85,7 +85,7 @@ Collection of key-value pairs that would be used to generate the attributes atta
8585

8686
<script>
8787
$("#checkboxgroup").kendoCheckBoxGroup({
88-
items: [ {
88+
items: [{
8989
value: "one",
9090
label: "Label one",
9191
attributes: {
@@ -95,9 +95,9 @@ Collection of key-value pairs that would be used to generate the attributes atta
9595
value: "two",
9696
label: "Label two"
9797
},{
98-
value: "three"
98+
value: "three",
9999
label: "Label three"
100-
}],
100+
}]
101101
});
102102
</script>
103103

@@ -111,17 +111,17 @@ Any custom classes that should be attached to the `k-checkbox-item` element.
111111

112112
<script>
113113
$("#checkboxgroup").kendoCheckBoxGroup({
114-
items: [ {
114+
items: [{
115115
value: "one",
116116
label: "Label one",
117117
cssClass: "custom-class"
118118
},{
119119
value: "two",
120120
label: "Label two"
121121
},{
122-
value: "three"
122+
value: "three",
123123
label: "Label three"
124-
}],
124+
}]
125125
});
126126
</script>
127127

@@ -135,17 +135,17 @@ Defines whether the checkbox is enabled or not. By default all checkboxes are en
135135

136136
<script>
137137
$("#checkboxgroup").kendoCheckBoxGroup({
138-
items: [ {
138+
items: [{
139139
value: "one",
140140
label: "Label one",
141141
enabled: false
142142
},{
143143
value: "two",
144144
label: "Label two"
145145
},{
146-
value: "three"
146+
value: "three",
147147
label: "Label three"
148-
}],
148+
}]
149149
});
150150
</script>
151151

@@ -159,15 +159,15 @@ Determines whether the checkbox label content should be rendered as an HTML stri
159159

160160
<script>
161161
$("#checkboxgroup").kendoCheckBoxGroup({
162-
items: [ {
162+
items: [{
163163
value: "one",
164164
label: "<strong>Label one</strong>",
165165
encoded: false
166166
},{
167167
value: "two",
168168
label: "Label two"
169169
},{
170-
value: "three"
170+
value: "three",
171171
label: "Label three"
172172
}],
173173
});
@@ -183,16 +183,16 @@ Specifies the label content for the checkbox.
183183

184184
<script>
185185
$("#checkboxgroup").kendoCheckBoxGroup({
186-
items: [ {
186+
items: [{
187187
value: "one",
188188
label: "<strong>Label one</strong>"
189189
},{
190190
value: "two",
191191
label: "Label two"
192192
},{
193-
value: "three"
193+
value: "three",
194194
label: "Label three"
195-
}],
195+
}]
196196
});
197197
</script>
198198

@@ -206,16 +206,16 @@ Specifies the value for the checkbox.
206206

207207
<script>
208208
$("#checkboxgroup").kendoCheckBoxGroup({
209-
items: [ {
209+
items: [{
210210
value: "one",
211211
label: "<strong>Label one</strong>"
212212
},{
213213
value: "two",
214214
label: "Label two"
215215
},{
216-
value: "three"
216+
value: "three",
217217
label: "Label three"
218-
}],
218+
}]
219219
});
220220
</script>
221221

@@ -282,7 +282,7 @@ Selects or deselects all checkboxes in the group.
282282

283283
<script>
284284
$("#checkboxgroup").kendoCheckBoxGroup({
285-
items: [ "one", "two", "three" ],
285+
items: [ "one", "two", "three" ]
286286
});
287287

288288
var checkGroup = $("#checkboxgroup").getKendoCheckBoxGroup();
@@ -305,7 +305,7 @@ Enables or disables the CheckBoxGroup.
305305

306306
<script>
307307
$("#checkboxgroup").kendoCheckBoxGroup({
308-
items: [ "one", "two", "three" ],
308+
items: [ "one", "two", "three" ]
309309
});
310310

311311
var checkGroup = $("#checkboxgroup").getKendoCheckBoxGroup();
@@ -332,7 +332,7 @@ The index of the checkbox to be enabled/disabled.
332332

333333
<script>
334334
$("#checkboxgroup").kendoCheckBoxGroup({
335-
items: [ "one", "two", "three" ],
335+
items: [ "one", "two", "three" ]
336336
});
337337

338338
var checkGroup = $("#checkboxgroup").getKendoCheckBoxGroup();
@@ -359,11 +359,11 @@ The index of the requested checkbox.
359359

360360
<script>
361361
$("#checkboxgroup").kendoCheckBoxGroup({
362-
items: [ "one", "two", "three" ],
362+
items: [ "one", "two", "three" ]
363363
});
364364

365365
var checkGroup = $("#checkboxgroup").getKendoCheckBoxGroup();
366-
/* The result can be observed in the DevTools(F12) console of the browser. */
366+
// The result can be observed in the DevTools(F12) console of the browser.
367367
console.log(checkGroup.item(1));
368368
</script>
369369

@@ -381,11 +381,11 @@ Returns all checkboxes in the CheckBoxGroup.
381381

382382
<script>
383383
$("#checkboxgroup").kendoCheckBoxGroup({
384-
items: [ "one", "two", "three" ],
384+
items: [ "one", "two", "three" ]
385385
});
386386

387387
var checkGroup = $("#checkboxgroup").getKendoCheckBoxGroup();
388-
/* The result can be observed in the DevTools(F12) console of the browser. */
388+
// The result can be observed in the DevTools(F12) console of the browser.
389389
console.log(checkGroup.items());
390390
</script>
391391

@@ -411,12 +411,12 @@ The value to set.
411411

412412
<script>
413413
$("#checkboxgroup").kendoCheckBoxGroup({
414-
items: [ "one", "two", "three" ],
414+
items: [ "one", "two", "three" ]
415415
});
416416

417417
var checkGroup = $("#checkboxgroup").getKendoCheckBoxGroup();
418418
checkGroup.value(["two", "one"]);
419-
/* The result can be observed in the DevTools(F12) console of the browser. */
419+
// The result can be observed in the DevTools(F12) console of the browser.
420420
console.log(checkGroup.value());
421421
</script>
422422

@@ -442,9 +442,9 @@ The `<input type="checkbox">` element that triggered the change.
442442

443443
<script>
444444
$("#checkboxgroup").kendoCheckBoxGroup({
445-
items: [ "one", "two", "three" ]
445+
items: [ "one", "two", "three" ],
446446
change: function (e) {
447-
/* The result can be observed in the DevTools(F12) console of the browser. */
447+
// The result can be observed in the DevTools(F12) console of the browser.
448448
console.log(e.target);
449449
}
450450
});
@@ -470,9 +470,9 @@ The `<input type="checkbox">` element that triggered the change.
470470

471471
<script>
472472
$("#checkboxgroup").kendoCheckBoxGroup({
473-
items: [ "one", "two", "three" ]
473+
items: [ "one", "two", "three" ],
474474
focus: function (e) {
475-
/* The result can be observed in the DevTools(F12) console of the browser. */
475+
// The result can be observed in the DevTools(F12) console of the browser.
476476
console.log(e.target);
477477
}
478478
});
@@ -502,7 +502,7 @@ The `<input type="checkbox">` element that triggered the event.
502502

503503
<script>
504504
$("#checkboxgroup").kendoCheckBoxGroup({
505-
items: [ "one", "two", "three" ]
505+
items: [ "one", "two", "three" ],
506506
select: function (e) {
507507
if(e.target.val() === "two") {
508508
// Prevent selection if clicking on the "two" checkbox

0 commit comments

Comments
 (0)