1.0.1 • Published 6 years ago

checkbox-wf v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

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>

alt check