Socket
Socket
Sign inDemoInstall

angular2-material-chips

Package Overview
Dependencies
16
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    angular2-material-chips

Angular 2 Material Chips Directive/Component with no dependencies required. This is a Material Chips Directive/Component for Angular 2.


Version published
Weekly downloads
9
decreased by-10%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

angular2-material-chips

Angular 2 Material Chips Directive/Component with no dependencies required. This is a Material Chips Directive/Component for Angular 2.

Demo page

http://shootermv.github.io/angular2-material-chips/examples/index.html

Installation

npm i --save angular2-material-chips

Usage

  • Use it in your HTML elements, for example:
<material-chips [(ngModel)]="tags" ></material-chips>
  • Add in your app.component.ts:
export class AppComponent {
    tags:string[]  = ['AngularJS','Angluar2']
}

  • Add MaterialChipsModule in your app.module.ts:
import {MaterialChipsModule} from 'angular2-material-chips';

@NgModule({
    ...
    imports: [BrowserModule, MaterialChipsModule, FormsModule]
})

#Build & Test

git clone https://github.com/shootermv/angular2-material-chips.git
npm install
cd angular2-material-chips
gulp
gulp copylib 

cd examples-webpack
npm install
npm start

FAQs

Last updated on 26 Apr 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc