packages/components/eui-dropdown/directives/eui-dropdown-content.directive.ts
Structural directive that marks the content area of an eui-dropdown component.
Applies semantic role and styling to the dropdown panel container.
Must be used as a direct child of eui-dropdown to define the menu content that appears in the overlay.
Automatically applies ARIA menu role for accessibility compliance.
| Selector | eui-dropdown-content |
Properties |
HostBindings |
| attr.role |
Type : string
|
Default value : 'menu'
|
| class |
Type : string
|
Default value : 'eui-dropdown-content'
|
| c |
Type : string
|
Default value : 'eui-dropdown-content'
|
Decorators :
@HostBinding('class')
|
| role |
Type : string
|
Default value : 'menu'
|
Decorators :
@HostBinding('attr.role')
|