New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ng2-switch

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-switch

An switch component for Angular 2.

latest
Source
npmnpm
Version
2.1.0
Version published
Weekly downloads
8
-63.64%
Maintainers
1
Weekly downloads
 
Created
Source

ng2 switch

A switch component for Angular 2.

Alt text

Installation

$ npm install --save ng2-switch

Usage

import { NgSwitchModule } from 'ng2-switch';
@NgModule({
    imports: [NgSwitchModule]
})
<ng-switch [(ngModel)]="value"></ng-switch>

props

namedescriptiontypedefault
disableddetermine whether the Switch is disabledBooleanfalse
ngModeltwo way bindBoolean-

Keywords

angular

FAQs

Package last updated on 17 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts