# @jaspero/ng-select

> [![Build Status](https://travis-ci.org/Jaspero/ng-select.svg?branch=master)](https://travis-ci.org/jaspero/ng-select) [![NPM Version](https://img.shields.io/npm/v/@jaspero/ng-select.svg)](https://www.npmjs.com/package/@jaspero/ng-select) # NG2 Select A

Latest version **0.2.0** (published 2018-04-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jaspero/ng-select
pnpm add @jaspero/ng-select
yarn add @jaspero/ng-select
bun add @jaspero/ng-select
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2018-04-06 |
| First published | 2018-04-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 32.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 17 |
| Author | Jaspero co. |
| Maintainers | flauc1 |
| Keywords | angular, select |

## Links

- npm: https://www.npmjs.com/package/@jaspero/ng-select
- Repository: https://github.com/Jaspero/ng-select
- Homepage: https://github.com/Jaspero/ng-select#readme
- Issues: https://github.com/Jaspero/ng-select/issues
- npm.io page: https://npm.io/package/@jaspero/ng-select

## Recent versions

- 0.2.0 (latest) — 2018-04-06

## README

[![Build Status](https://travis-ci.org/Jaspero/ng-select.svg?branch=master)](https://travis-ci.org/jaspero/ng-select)
[![NPM Version](https://img.shields.io/npm/v/@jaspero/ng-select.svg)](https://www.npmjs.com/package/@jaspero/ng-select)
# NG2 Select
A select library for Angular, with single and multiple functionality.
```
npm install --save @jaspero/ng-select
```
A demo can be found [here](https://jaspero.co/resources/projects/ng-select)

## Setup
Import `JasperoSelectModule` in your `@NgModule`:

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

## How To Use
To use the library simply add the component in your templates:
```typescript
<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.

---
_Source: https://npm.io/package/@jaspero/ng-select · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
