badng-dropdown
v0.0.5
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0. *Still in development ## Library * Highly customizable single select dropdown with infinite scroll ## Configuration ### Input * `classes: Array<string>`
Downloads
5
Readme
BadngDropdown
This library was generated with Angular CLI version 12.2.0. *Still in development
Library
- Highly customizable single select dropdown with infinite scroll
Configuration
Input
classes: Array<string>
-List of classes to be applied on wrapper selector
items: Array<any> | undefined
-Array of string/objects as dropdown options
itemKey: string
-object[itemKey] -> value will be displayed as dropdown option
selectedOption: any
-Default selected option from dropdown
itemIdentifier: any
-Object unique identifier
infiniteScroll: boolean
-Is infinite scroll allowed
closeOnClickOutside: boolean
-Will dropdown be closed when clicked outside of it
Output
optionChanged: EventEmitter<any>()
-Change event when user changes the selected options
infiniteScrollTriggered: EventEmitter<any>()
-Change event when infinite scroll is triggered