packages/ecl/components/ecl-list/ecl-description-list-definition/ecl-description-list-definition.component.ts
Component representing a group of definition items in an ECL description list.
Allows display of items in different visual variants and optionally limits how many items are visible by default. Additional items can be revealed via a "see all" toggle.
AfterViewInit
| selector | [eclDescriptionListDefinition] |
| imports |
EUI_ECL_LINK
TranslateModule
|
| templateUrl | ./ecl-description-list-definition.component.html |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
Applies appropriate ECL CSS classes to the host element. |
| onShowAllItems | ||||||
onShowAllItems(evt: Event)
|
||||||
|
Handles the "see all" link/button click. Reveals all hidden list items.
Parameters :
Returns :
void
|
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| eclListItems |
Type : QueryList<EclDescriptionListDefinitionItemDirective>
|
Decorators :
@ContentChildren(EclDescriptionListDefinitionItemDirective, {descendants: true})
|
|
Internal list of child definition items. |
| cssClasses |
getcssClasses()
|
|
Applies appropriate ECL CSS classes to the host element.
Returns :
string
|
| maxVisibleItems | ||||||
setmaxVisibleItems(value: number)
|
||||||
|
Number of items visible before the "see all" button is displayed.
Parameters :
Returns :
void
|
| hasSeeAll |
gethasSeeAll()
|
|
Returns
Returns :
boolean
|