This repository was archived by the owner on May 29, 2019. It is now read-only.
File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ <h4>Single toggle</h4>
7
7
< h4 > Checkbox</ h4 >
8
8
< pre > {{checkModel}}</ pre >
9
9
< div class ="btn-group ">
10
- < button type =" button " class ="btn btn-primary " ng-model ="checkModel.left " btn-checkbox > Left</ button >
11
- < button type =" button " class ="btn btn-primary " ng-model ="checkModel.middle " btn-checkbox > Middle</ button >
12
- < button type =" button " class ="btn btn-primary " ng-model ="checkModel.right " btn-checkbox > Right</ button >
10
+ < label class ="btn btn-primary " ng-model ="checkModel.left " btn-checkbox > Left</ label >
11
+ < label class ="btn btn-primary " ng-model ="checkModel.middle " btn-checkbox > Middle</ label >
12
+ < label class ="btn btn-primary " ng-model ="checkModel.right " btn-checkbox > Right</ label >
13
13
</ div >
14
14
< h4 > Radio</ h4 >
15
15
< pre > {{radioModel}}</ pre >
16
16
< div class ="btn-group ">
17
- < button type =" button " class ="btn btn-primary " ng-model ="radioModel " btn-radio ="'Left' "> Left</ button >
18
- < button type =" button " class ="btn btn-primary " ng-model ="radioModel " btn-radio ="'Middle' "> Middle</ button >
19
- < button type =" button " class ="btn btn-primary " ng-model ="radioModel " btn-radio ="'Right' "> Right</ button >
17
+ < label class ="btn btn-primary " ng-model ="radioModel " btn-radio ="'Left' "> Left</ label >
18
+ < label class ="btn btn-primary " ng-model ="radioModel " btn-radio ="'Middle' "> Middle</ label >
19
+ < label class ="btn btn-primary " ng-model ="radioModel " btn-radio ="'Right' "> Right</ label >
20
20
</ div >
21
21
</ div >
You can’t perform that action at this time.
0 commit comments