0.0.5 • Published 7 years ago

@jaspero/ng2-chips v0.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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:

NameTypeDescriptionDefault
typeType of the chip input.text,number,password,datetext
duplicatesShould adding duplicates be allowed.booleanfalse

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

0.0.5

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago