packages/eui/packages/components/eui-content-card/eui-content-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.
changeDetection | ChangeDetectionStrategy.OnPush |
HostDirectives |
BaseStatesDirective
|
selector | eui-content-card |
imports |
FormsModule
EUI_INPUT_CHECKBOX
|
templateUrl | ./eui-content-card.component.html |
styleUrl | ./eui-content-card.scss |
Methods |
Inputs |
Outputs |
HostBindings |
Accessors |
e2eAttr |
Type : string
|
Default value : 'eui-content-card'
|
Sets the |
isBookmarkable |
Type : boolean
|
Default value : false
|
Sets the |
isBookmarked |
Type : boolean
|
Default value : false
|
Sets the |
isCollapsed |
Type : boolean
|
Default value : false
|
Sets the |
isCollapsible |
Type : boolean
|
Default value : false
|
Sets the |
isSelectable |
Type : boolean
|
Default value : false
|
Sets the |
isSelected |
Type : boolean
|
Default value : false
|
Sets the |
cardBookmark |
Type : EventEmitter
|
Event emitted when the card is bookmarked. |
cardCollapse |
Type : EventEmitter
|
Event emitted when the card is bookmarked. |
cardSelect |
Type : EventEmitter
|
Event emitted when the card is selected. |
class |
Type : string
|
toggleBookmark |
toggleBookmark()
|
Returns :
void
|
toggleCollapse |
toggleCollapse()
|
Returns :
void
|
cssClasses |
getcssClasses()
|
Computes and returns the CSS classes for the component based on its current state.
Returns :
string
|