angular2-select2

1.0.0 • Public • Published

Angular2 Select2


About

Angular2 integration of Select2.


Install

Install with npm:

npm i --save angular2-select2

Basic Example

Import the component Select2Component and add it to your directives:

import Select2Component from 'angular2-select2';

...

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

Add the select2 component to your template.

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

Package Sidebar

Install

npm i angular2-select2

Weekly Downloads

49

Version

1.0.0

License

MIT

Last publish

Collaborators

  • purban