This package has been deprecated

Author message:

WARNING: This project has been renamed to ng-chips. Install using @jaspero/ng-chips.

@jaspero/ng2-chips

0.0.5 • Public • Published

Build Status NPM Version

NG2 Chips

A chip library for Angular 2

npm install --save @jaspero/ng2-chips

A demo can be found here.

Setup

Import JasperoChipsModule in your @NgModule:

@NgModule({
    imports: [
        JasperoChipsModule
    ],
    declarations: [AppComponent],
    bootstrap: [AppComponent]
})
export class AppModule {}

How To Use

To use the library simply add the component in your templates:

<jaspero-chips></jaspero-chips>

Options

You can pass the following inputs to the component:

Name Type Description Default
type Type of the chip input. text,number,password,date text
duplicates Should adding duplicates be allowed. boolean false

This component also support Angular 2 template driven and reactive forms.

Readme

Keywords

Package Sidebar

Install

npm i @jaspero/ng2-chips

Weekly Downloads

2

Version

0.0.5

License

MIT

Last publish

Collaborators

  • flauc1