packages/eui/packages/components/eui-autocomplete/eui-autocomplete-option/eui-autocomplete-option.component.ts
Component used internally by eui-autocomplete
to display the options in the panel.
changeDetection | ChangeDetectionStrategy.OnPush |
encapsulation | ViewEncapsulation.None |
HostDirectives |
BaseStatesDirective
Inputs : euiVariant
|
selector | eui-autocomplete-option |
template |
|
Properties |
Inputs |
HostBindings |
Accessors |
isActive |
Type : boolean
|
Default value : false
|
Whether the option is active in the panel. |
isDisabled |
Type : boolean
|
Default value : false
|
Whether the option is disabled in the panel. |
isGroupItem |
Type : boolean
|
Default value : false
|
Whether the option is displayed inside a group. |
attr.role |
Type : string
|
Default value : 'option'
|
ARIA role for the host element to ensure proper accessibility. |
class |
Type : string
|
role |
Type : string
|
Default value : 'option'
|
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
|