A switch component for Angular 2.
$ npm install --save ng2-switchimport { NgSwitchModule } from 'ng2-switch';
@NgModule({
imports: [NgSwitchModule]
})<ng-switch [(ngModel)]="value"></ng-switch>| name | description | type | default |
|---|---|---|---|
| disabled | determine whether the Switch is disabled | Boolean | false |
| ngModel | two way bind | Boolean | - |
MIT
