# angular2-select2

> Angular2 integration of Select2.

Latest version **1.0.0** (published 2016-07-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular2-select2
pnpm add angular2-select2
yarn add angular2-select2
bun add angular2-select2
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-07-22 |
| First published | 2016-07-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Pierre Urban |
| Maintainers | purban |
| Keywords | angular2, select2, select, angular |

## Links

- npm: https://www.npmjs.com/package/angular2-select2
- Repository: https://github.com/Hydrane/angular2-select2
- Homepage: https://github.com/Hydrane/angular2-select2#readme
- Issues: https://github.com/Hydrane/angular2-select2/issues
- npm.io page: https://npm.io/package/angular2-select2

## Recent versions

- 1.0.0 (latest) — 2016-07-22

## README

# Angular2 Select2

---

## About

Angular2 integration of [Select2](https://github.com/select2/select2).

---

## Install

Install with `npm`:

```shell
npm i --save angular2-select2
```

---

## Basic Example

Import the component `Select2Component` and add it to your directives:

```typescript
import Select2Component from 'angular2-select2';

...

@Component({
...
    directives: [Select2Component],
...
})
```

Add the `select2` component to your template.

```html
<select2 [options]="[{label: 'foo', value: 'bar', disabled: false}]"></select2>
```

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