packages/components/eui-content-card/eui-content-card-body/eui-content-card-body.component.ts
Container for the main content area of the card. Supports optional top section for highlighted content. Content is hidden when the card is collapsed.
<eui-content-card-body>
<p>Main card content goes here</p>
</eui-content-card-body><eui-content-card-body>
<eui-content-card-body-top>
<div class="eui-u-bg-info-light eui-u-p-s">
Important notice or highlighted content
</div>
</eui-content-card-body-top>
<p>Regular card content follows</p>
</eui-content-card-body>| changeDetection | ChangeDetectionStrategy.OnPush |
| selector | eui-content-card-body |
| templateUrl | ./eui-content-card-body.component.html |
| styleUrl | ./eui-content-card-body.scss |
Properties |
HostBindings |
| class |
Type : string
|
Default value : 'eui-content-card-body'
|
|
Binds the class to the component. |
| string |
Type : string
|
Default value : 'eui-content-card-body'
|
Decorators :
@HostBinding('class')
|
|
Binds the class to the component. |