packages/eui/packages/components/eui-card/eui-card.component.ts
The eui-card component is based on Material Design and provides a content container for text, photos and actions in the context of a single subject.
AfterContentInit
OnDestroy
OnInit
OnChanges
changeDetection | ChangeDetectionStrategy.OnPush |
HostDirectives |
BaseStatesDirective
Inputs : euiPrimary euiSecondary euiInfo euiSuccess euiWarning euiDanger euiAccent euiHighlighted euiDisabled euiLoading euiSizeXS euiSizeS euiSizeM euiSizeL euiSizeXL euiSize2XL euiSizeVariant
|
providers |
UiStateService
|
selector | eui-card |
templateUrl | ./eui-card.component.html |
styleUrl | ./eui-card.scss |
Properties |
|
Inputs |
Outputs |
HostBindings |
Accessors |
e2eAttr |
Type : string
|
Default value : 'eui-card'
|
Sets the |
euiCollapsed |
Type : boolean
|
Default value : false
|
Sets the |
euiCollapsible |
Type : boolean
|
Default value : false
|
Sets the |
euiHoverable |
Type : boolean
|
Default value : false
|
Sets the |
euiNoContentPadding |
Type : boolean
|
Default value : false
|
Sets the |
euiNoShadow |
Type : boolean
|
Default value : false
|
Sets the |
euiSelected |
Type : boolean
|
Default value : false
|
Sets the |
euiUrgent |
Type : boolean
|
Default value : false
|
Sets the |
collapse |
Type : EventEmitter<boolean>
|
Event emitted when the card collapses. |
class |
Type : string
|
Public uiStateService |
Type : UiStateService
|
Default value : inject(UiStateService)
|
cssClasses |
getcssClasses()
|
Computes and returns the CSS classes for the component based on its current state.
Returns :
string
|