ng2-simple-dropdown
Angular2 Dropdown Component with NO DEPENDENCYS
ng2-simple-dropdown is a table grid component for Angular2/4.
Demo
Try it out: http://ng2-simple-dropdown.nicolaszick.com
Data
[items]
can be an Object like the following:
thissavedFilter = name: 'Profile1' any: {}
[defaultValue]
can be a String like the following:
thisdefaultSelectTextProfile = "Please Select";
[isEditable]
can be a boolean and defined if dropdown values can be changed
Installation
Install ng2-simple-dropdown via npm
npm install ng2-simple-dropdown --save
Integration
// app.module.ts; // app.component.htmlng2-simple-dropdown ="items" ="selectedItem" ="defaultText"/ng2-simple-dropdown // app.component.ts; // ...
Run Included Demo
git clone https://github.com/nzick/ng2-simple-dropdown.git --depth 1cd ng2-simple-dropdownnpm installnpm start
AoT Library Build
npm run build:lib
Licence
This project is licensed under the MIT license. See the LICENSE file for more info.