1.0.1 • Published 6 years ago
checkbox-wf v1.0.1
checkbox
Custom checkbox to angular 2
Example
import { Component } from "@angular/core";
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
selected: boolean;
title: string = 'Check';
disable: boolean = false;
}
<checkbox [disableValue]="disable"
[(ngModel)]="selected"
[label]="title">
</checkbox>