1.0.0 • Published 2 years ago
light-ng-select v1.0.0
Angular Select
A light angular dropdown component
Installation
$ npm i light-ng-selectImport 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 |