badng-dropdown
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i badng-dropdown

Weekly Downloads

2

Version

0.0.5

License

none

Unpacked Size

76.3 kB

Total Files

16

Last publish

Collaborators

  • badsistems