GitXplorerGitXplorer
s

angular2-material-chips

public
7 stars
1 forks
7 issues

Commits

List of commits on branch master.
Unverified
a626406912b50d16b08a0466e856bd0cc105000f

using material fonts for close icon

sshootermv committed 8 years ago
Unverified
8a9d4443fe26a887bca83b3c4fab4bc3d251e8f0

make code shorter

sshootermv committed 8 years ago
Unverified
d686451dba12fa69759cc471aa9e79594422ebf1

typo fix

sshootermv committed 8 years ago
Unverified
4c32a6c9d7c409ffd3583fe029bd00d55dde8848

how-to-develop section added to readme

sshootermv committed 8 years ago
Unverified
557e55c954432430a894cb9aae7e9a7c5517a0d6

update README

sshootermv committed 8 years ago
Unverified
6621b061c582724b1cf9ca7d3aa0f307f36556b4

adding README

sshootermv committed 8 years ago

README

The README file for this repository.

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