Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CardComponent

Card component

For customization, use the templates named headerTemplate and footerTemplate.

Usage:

// Individual module import
import { CardModule } from 'patternfly-ng/card';
// Or
import { CardModule } from 'patternfly-ng';

@NgModule({ imports: [CardModule,...] }) export class AppModule(){}

Optional:

import { CardAction, CardConfig, CardFilter, CardFilterPosition } from 'patternfly-ng/card';

Hierarchy

Implements

  • DoCheck
  • OnInit

Index

Constructors

constructor

Properties

config

config: CardConfig

The card config containing component properties

footerTemplate

footerTemplate: TemplateRef<any>

The name of the template containing footer layout

headerTemplate

headerTemplate: TemplateRef<any>

The name of the template containing header layout

onActionSelect

onActionSelect: EventEmitter<Object> = new EventEmitter()

The event emitted when an action is selected

onFilterSelect

onFilterSelect: EventEmitter<Object> = new EventEmitter()

The event emitted when a filter is selected

Accessors

showFooter

  • get showFooter(): boolean

showHeader

  • get showHeader(): boolean

Methods

ngDoCheck

  • ngDoCheck(): void

ngOnInit

  • ngOnInit(): void

Generated using TypeDoc