packages/components/eui-autocomplete/eui-autocomplete-option-group/eui-autocomplete-option-group.component.ts
Component used internally by eui-autocomplete with the option groupBy. It allows to display the options in groups.
| changeDetection | ChangeDetectionStrategy.OnPush |
| encapsulation | ViewEncapsulation.None |
| selector | eui-autocomplete-option-group |
| template | |
Properties |
Inputs |
HostBindings |
Accessors |
| label |
Type : string
|
|
Sets the label of the group. |
| attr.role |
Type : string
|
Default value : 'optgroup'
|
|
ARIA role for the host element to ensure proper accessibility. |
| class |
Type : string
|
| role |
Type : string
|
Default value : 'optgroup'
|
Decorators :
@HostBinding('attr.role')
|
|
ARIA role for the host element to ensure proper accessibility. |
| cssClasses |
getcssClasses()
|
|
Computes and returns the CSS classes for the component based on its current state.
Returns :
string
|