@jaspero/ng-select
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Build Status NPM Version

NG2 Select

A select library for Angular, with single and multiple functionality.

npm install --save @jaspero/ng-select

A demo can be found here

Setup

Import JasperoSelectModule in your @NgModule:

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

How To Use

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

<jaspero-select></jaspero-select>

Options

You can pass the following inputs to the component:

Name Type Description Default
options An array of options for the select dropdown any[] []
key The key from the options object to be used as the name of the option string name
multi Should more options be selectable at once boolean false

This component also support template driven and reactive forms.

Readme

Keywords

Package Sidebar

Install

npm i @jaspero/ng-select

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

33.4 kB

Total Files

8

Last publish

Collaborators

  • antoniostipic
  • flauc1