packages/components/eui-overlay/components/eui-overlay-header/eui-overlay-header.component.ts
Header component for eui-overlay that provides a structured top section. Automatically detects and styles content based on the presence of a title component. Typically contains title, close button, and optional action buttons. Must be used as a direct child of eui-overlay to maintain proper layout structure.
<eui-overlay [isActive]="true">
<eui-overlay-header>
<h2>Overlay Title</h2>
</eui-overlay-header>
</eui-overlay>eui-overlay| encapsulation | ViewEncapsulation.None |
| selector | eui-overlay-header |
| templateUrl | ./eui-overlay-header.component.html |
Properties |
HostBindings |
Accessors |
| class |
Type : string
|
| hasHeaderTitle |
Type : QueryList<EuiOverlayHeaderTitleComponent>
|
Decorators :
@ContentChild(undefined, {static: false})
|
| cssClasses |
getcssClasses()
|