qwc/projects/qwc/src/lib/components/qwc-select/qwc-select-dropdown/qwc-select-dropdown.component.ts
Qwc select dropdown component
| selector | qwc-select-dropdown |
| templateUrl | qwc-select-dropdown.component.html |
constructor(element: ElementRef)
|
||||||
|
Parameters :
|
| _dropdownData |
Type : any
|
| close |
Type : EventEmitter
|
| filterResult |
Type : EventEmitter
|
| rightKeyPressed |
Type : EventEmitter
|
| selectionChange |
Type : EventEmitter
|
| tabOut |
Type : EventEmitter
|
| keydown |
Arguments : '$event'
|
keydown(event: KeyboardEvent)
|
| keyup |
Arguments : '$event'
|
keyup(event: KeyboardEvent)
|
| emitTabOutEvent | ||||||||
emitTabOutEvent(event: any)
|
||||||||
|
Emit tabOut event
Parameters :
Returns :
void
void |
| expandItem | ||||||
expandItem(option: any)
|
||||||
|
Expand item
Parameters :
Returns :
void
void |
| filterFocusableElements | ||||||||
filterFocusableElements(arr: Array
|
||||||||
|
Filter focusable elements
Parameters :
Returns :
Array<any>
any |
| filterValues | ||||||
filterValues(optionSearchText)
|
||||||
|
Filter values
Parameters :
Returns :
void
void |
| getValue | ||||||
getValue(__option)
|
||||||
|
Get value
Parameters :
Returns :
string | number
string | number |
| initData |
initData()
|
|
Init data
Returns :
void
void |
| ngOnDestroy |
ngOnDestroy()
|
|
Returns :
void
|
| onItemBlur | ||||||||
onItemBlur(event: any)
|
||||||||
|
On item focus
Parameters :
Returns :
void
void |
| optionChanged |
optionChanged(__option, keyEvent?: boolean, event?: any)
|
|
Option changed
Returns :
void
void |
| selectSearchInput | ||||||
selectSearchInput(event)
|
||||||
|
Select search input
Parameters :
Returns :
void
void |
| ariaOwnsString |
Type : string
|
Default value : ""
|
| closeOnSelect |
Type : boolean
|
| currentSelectionArr |
Type : []
|
Default value : []
|
| customFooterTemplate |
| customHeaderTemplate |
| customSearchBarTemplate |
| customTemplate |
| dropdownHeight |
Type : number
|
| dropdownWidth |
Type : number
|
| idKey |
Type : string | number
|
| isInputFocused |
Default value : false
|
| isShiftPressed |
Default value : false
|
| itemSize |
Type : number
|
Default value : 36
|
| multiSelect |
Type : boolean
|
| newOptionValue |
Type : string
|
| optionChanged$ |
Type : Subject<any>
|
| options |
Type : []
|
Default value : []
|
| optionsDataModel |
Type : []
|
Default value : []
|
| popoverClass |
Type : string
|
| qwcSelectElementName |
Type : string
|
Default value : "QWC-SELECT-DROPDOWN-ITEM"
|
| resetKeyManager |
Default value : true
|
| rowTemplateChildren |
Type : QueryList<QwcSelectDropdownItemsComponent>
|
Decorators :
@ViewChildren(undefined)
|
| searchable |
Type : boolean
|
| searchField |
Type : string
|
| searchInput |
Type : ElementRef
|
| selectDropdownContainer |
Type : ElementRef
|
Decorators :
@ViewChild('selectDropdownContainer')
|
| selectedOptionIndex |
| showSelectedItem |
Type : boolean
|
| dropdownData | ||||||
getdropdownData()
|
||||||
setdropdownData(_dropdownData: any)
|
||||||
|
Parameters :
Returns :
void
|
| focusSearchEl | ||||
setfocusSearchEl(searchEl)
|
||||
|
Parameters :
Returns :
void
|