feat(ba-checkbox): create checkbox component

This commit is contained in:
tibing 2016-07-07 15:25:08 +03:00
parent bc7ea0e5b4
commit e63812f011
6 changed files with 49 additions and 18 deletions

View file

@ -0,0 +1,8 @@
<div class="{{baCheckboxClass}}">
<label class="checkbox-inline custom-checkbox nowrap">
<input type="checkbox" [name]="name" [checked]=state
(change)="onChange($event.target.checked)"
[disabled]="disabled" [value]="value">
<span>{{label}}</span>
</label>
</div>