import { KbqListModule } from '@koobiq/components/list';

Selector: kbq-list

Selector: kbq-list-item, a[kbq-list-item]

Properties
Name Description
lines: QueryList
Methods
getHostElement
handleBlur
handleFocus

Selector: kbq-list-selection

Exported as: kbqListSelection
Properties
Name Description
@Input()
autoSelect: boolean
@Input()
compareWith: (o1: any, o2: any) => boolean
Function used for comparing an option against the selected value when determining which options should appear as selected. The first argument is the value of an options. The second one is a value from the selected value. A boolean must be returned.
@Input()
disabled: boolean
@Input()
horizontal: boolean
@Input()
noUnselectLast: boolean
@Output('onCopy')
onCopy: EventEmitter>
@Output('onSelectAll')
onSelectAll: EventEmitter>
@Output('selectionChange')
selectionChange: EventEmitter
focusMonitor: FocusMonitor
keyManager: FocusKeyManager
multiple: boolean
multipleMode: MultipleMode
onTouched: () => void
optionBlurChanges: Observable
optionFocusChanges: Observable
options: QueryList
selectionModel: SelectionModel
showCheckbox: boolean
userTabIndex: number
Methods
blur
canDeselectLast
deselectAll
emitChangeEvent
focus
getSelectedOptionValues
onKeyDown
Handles keydown events on the list.
removeOptionFromList
reportValueChange
selectActiveOptions
selectAll
setSelectedOptionsByClick
setSelectedOptionsByKey
toggleFocusedOption
updateScrollSize
updateTabIndex

Selector: [kbq-list-option-caption]

Component for list-options of selection-list. Each list-option can automatically generate a checkbox and can put current item into the selectionModel of selection-list if the current item is selected.

Selector: kbq-list-option

Exported as: kbqListOption
Properties
Name Description
@Input()
checkboxPosition: "before" | "after"
@Input()
disabled: boolean
Whether list is disabled.
@Input()
selected: boolean
@Input()
showCheckbox: any
@Input()
value: any
actionButton: KbqOptionActionComponent
dropdownTrigger: KbqDropdownTrigger
externalPseudoCheckbox: boolean
hasFocus: boolean
listSelection: KbqListSelection
onBlur: Subject
onFocus: Subject
preventBlur: boolean
pseudoCheckbox: KbqPseudoCheckbox
text: ElementRef
textElement: ElementRef
tooltipTrigger: KbqTooltipTrigger
Methods
blur
focus
getHostElement
getLabel
handleClick
Handles click events on the list option.
onKeydown
setSelected
toggle
Properties
Name Description
option: KbqListOption
source: KbqListSelection
Properties
Name Description
options: T[]
source: KbqListSelection

Event class that occurs when copying an item from the KbqListSelection. Used to pass data about the copied item and copy context.

Properties
Name Description
event: KeyboardEvent
option: T
source: KbqListSelection
Properties
Name Description
option: KbqListOption
const KBQ_SELECTION_LIST_VALUE_ACCESSOR: any;
Вопросы и предложения по документации
Если у вас есть вопросы или вы хотите внести свой вклад в написание документации, пожалуйста, создайте issue в нашем репозитории на GitHub.