packages/components/eui-banner/eui-banner-description.component.ts
Content projection component for displaying descriptive text within eui-banner. Provides consistent typography and styling for banner description content. Must be used as a child of eui-banner component. Accepts text, paragraphs, or inline elements through content projection.
Example :<eui-banner imageUrl="image.jpg">
<eui-banner-title>Innovation Hub</eui-banner-title>
<eui-banner-description>
Explore cutting-edge solutions and collaborate with experts.
</eui-banner-description>
</eui-banner>| changeDetection | ChangeDetectionStrategy.OnPush |
| selector | eui-banner-description |
| template | |
| styleUrl | ./eui-banner-description.scss |
Properties |
HostBindings |
| class |
Type : string
|
Default value : 'eui-banner-description'
|
|
Binds the class to the component. |
| string |
Type : string
|
Default value : 'eui-banner-description'
|
Decorators :
@HostBinding('class')
|
|
Binds the class to the component. |