aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular/form-elements/checkbox/checkbox.component.html.ts
blob: 3fdd53fc1a6e70cebb5df53501e46fb10af09abd (plain)
1
2
3
4
5
6
7
8
export const template = `
<div class="sdc-checkbox">
    <label SdcRippleClickAnimation [rippleClickDisabled]="disabled">
        <input type="checkbox" class="sdc-checkbox__input" [ngModel]="checked" (ngModelChange)="toggleState($event)" [disabled]="disabled" [attr.data-tests-id]="testId">
        <span class="sdc-checkbox__label">{{ label }}</span>
    </label>
</div>
`;