light-ng-select
v1.0.0
Published
A light angular dropdown component
Downloads
5
Maintainers
Readme
Angular Select
A light angular dropdown component
Installation
$ npm i light-ng-select
Import AngularDropdownModule
in your app:
import { NgModule } from '@angular/core';
import { LightNGSelectModule } from 'light-ng-select';
@NgModule({
imports: [LightNGSelectModule]
})
export class AppModule {}
Example usage
<light-ng-select [keys]="['1', '2']"></light-ng-select>
Inputs
keys: Array = [] selectedKey: any
default selectedKey is the first one.
Outputs
| Output | Description | | ------------- | ------------- | | (key) | Fired when item is selected |