Skip to main content
cngx-src documentation

CngxCardSubtitle

Directivev0.1.0

projects/common/card/card-subtitle.directive.ts

Import#

import { CngxCardSubtitle } from '@cngx/common/card'

Description#

Marks an element as the card's subtitle - secondary text below the title.

<cngx-card>
  <header cngxCardHeader>
    <h3 cngxCardTitle>Maria Muster</h3>
    <span cngxCardSubtitle>Zimmer 12, Station 3A</span>
  </header>
</cngx-card>

Metadata#