projects/ui-kit-lib/src/lib/v2/card/card.ts
Root Card component.
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.| changeDetection | ChangeDetectionStrategy.OnPush |
| encapsulation | ViewEncapsulation.None |
| exportAs | mdCard |
| host | { |
| selector | md-card |
| templateUrl | card.html |
| styleUrl | card.scss |
constructor()
|