@inssio/ng2-select2
TypeScript icon, indicating that this package has built-in type declarations

1.1.11 • Public • Published

Angular wrapper for Select2 (ng2-select2)

MIT Licence

This library is extension of https://github.com/NejcZdovc/ng2-select2

For Angular version 2.x.x and up

Options

Inputs

  • data Array<Select2OptionData>: Data used for generating select 2 - inferface definition
  • value string: Default value for select 2
  • placeholder string: Add placeholder for select2
  • allowClear boolean: Set is clear option available for select2, default value is true
  • multiple boolean: Set select2 as multiple choice, default value is false
  • withSearch Select2Options: Set is search enabled on select2, default value is true
  • emptyMessage string: Set empty message text. Can be used for multilingual support

Outputs

  • valueChanged string: Emitted when value changes in select 2 drop down

Readme

Keywords

Package Sidebar

Install

npm i @inssio/ng2-select2

Weekly Downloads

0

Version

1.1.11

License

MIT

Last publish

Collaborators

  • danilo.vulovic