File

projects/ui-kit-lib/src/lib/v2/card/card.ts

Description

Root Card component.

  • Renders a Material Design–like card container.
  • Applies host CSS classes based on the appearance input.
  • Reads optional defaults from DI via CARD_CONFIG.

Template & styles:

  • templateUrl: 'card.html' — defines the card structure/slots.
  • styleUrl: 'card.scss' — variants and section styling.

Performance:

  • ChangeDetectionStrategy.OnPush to minimize change detection work.

Export:

  • exportAs: 'mdCard' — allows #card="mdCard" in templates.

Metadata

Constructor

constructor()

results matching ""

    No results matching ""