packages/eui/packages/components-next/src/lib/components/eui-chip-list/eui-chip-list.component.ts
BaseDirective
OnInit
AfterViewInit
OnDestroy
OnChanges
| changeDetection | ChangeDetectionStrategy.OnPush |
| encapsulation | ViewEncapsulation.None |
| selector | eui-chip-list, div[euiChipList], ul[euiChipList] |
| styleUrls | ./styles/_index.scss |
| templateUrl | ./eui-chip-list.component.html |
Properties |
Methods |
|
Inputs |
Outputs |
HostBindings |
Accessors |
constructor(cd: ChangeDetectorRef, euiChipListDragService: EuiChipListDragService, domSanitizer: DomSanitizer)
|
||||||||||||
|
Parameters :
|
| ariaLabel |
Default value : 'eUI Chip List'
|
| chips |
Type : any[]
|
| chipsLabelTruncateCount |
| chipsSortOrder |
Default value : 'ASC'
|
| dragAndDropConnectedTo |
Type : string[]
|
Default value : []
|
| dragAndDropSourceName |
Type : string
|
| isChipsDragAndDrop |
| isChipsRemovable |
| isChipsSorted |
| isMaxVisibleChipsOpened |
| maxVisibleChipsCount |
| toggleLinkLessLabel |
Type : string
|
Default value : null
|
| toggleLinkMoreLabel |
Type : string
|
Default value : null
|
| chipDragReleased |
Type : EventEmitter
|
| chipDragStarted |
Type : EventEmitter
|
| chipDropped |
Type : EventEmitter
|
| chipRemove |
Type : EventEmitter
|
| chipsInit |
Type : EventEmitter
|
| class |
| Public drop | ||||||
drop(e: CdkDragDrop
|
||||||
|
Parameters :
Returns :
void
|
| Public getChipContent | ||||||
getChipContent(euiChip: any)
|
||||||
|
Parameters :
Returns :
any
|
| Public getChipIconAfter | ||||||
getChipIconAfter(euiChip: any)
|
||||||
|
Parameters :
Returns :
any
|
| Public getChipIconBefore | ||||||
getChipIconBefore(euiChip: any)
|
||||||
|
Parameters :
Returns :
any
|
| Public getChipLabel | ||||||
getChipLabel(euiChip: any)
|
||||||
|
Parameters :
Returns :
any
|
| Public onDragReleased | ||||||
onDragReleased(event: CdkDrag)
|
||||||
|
Parameters :
Returns :
void
|
| Public onDragStarted | ||||||
onDragStarted(event: CdkDrag)
|
||||||
|
Parameters :
Returns :
void
|
| Public onRemove | ||||||
onRemove(removed: any)
|
||||||
|
Parameters :
Returns :
void
|
| Public toggleTags |
toggleTags()
|
|
Returns :
void
|
| Public trackByFn |
trackByFn(index: number, euiChip: any)
|
|
Returns :
any
|
| _chipsLabelTruncateCount |
Type : null
|
Default value : null
|
| _isChipsDragAndDrop |
Default value : false
|
| _isChipsRemovable |
Default value : false
|
| _isChipsSorted |
Default value : false
|
| _isMaxVisibleChipsOpened |
Default value : false
|
| _maxVisibleChipsCount |
Type : null
|
Default value : null
|
| chipList |
Type : MatChipList
|
Decorators :
@ViewChild('chipList', {read: MatChipList, static: true})
|
| chipListDragAndDropItems |
Type : CdkDropList
|
Decorators :
@ViewChild('chipListDragAndDropItems', {read: CdkDropList})
|
| chipListDropList |
Type : CdkDropList
|
Decorators :
@ViewChild('chipListDropList', {read: CdkDropList})
|
| Public connectComponent |
Type : CdkDropList[]
|
Default value : []
|
| Public droppableArea |
Type : CdkDragDrop<any[]>[]
|
| Public e2eAttr |
Type : string
|
Default value : 'eui-chip-list'
|
| euiChipsContent |
Type : QueryList<EuiChipComponent>
|
Decorators :
@ContentChildren(undefined)
|
| isChipsRemovable | ||||
setisChipsRemovable(value)
|
||||
|
Parameters :
Returns :
void
|
| maxVisibleChipsCount | ||||
setmaxVisibleChipsCount(value)
|
||||
|
Parameters :
Returns :
void
|
| chipsLabelTruncateCount | ||||
setchipsLabelTruncateCount(value)
|
||||
|
Parameters :
Returns :
void
|
| isMaxVisibleChipsOpened | ||||
setisMaxVisibleChipsOpened(value)
|
||||
|
Parameters :
Returns :
void
|
| isChipsSorted | ||||
setisChipsSorted(value)
|
||||
|
Parameters :
Returns :
void
|
| isChipsDragAndDrop | ||||
setisChipsDragAndDrop(value)
|
||||
|
Parameters :
Returns :
void
|