mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-24 02:06:11 +01:00
feat(ba-checkbox): create checkbox component
This commit is contained in:
parent
bc7ea0e5b4
commit
e63812f011
6 changed files with 49 additions and 18 deletions
8
src/app/theme/components/baCheckbox/baCheckbox.html
Normal file
8
src/app/theme/components/baCheckbox/baCheckbox.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue