From f6a2b316fc72df296ac2672e23924eca9071cdb0 Mon Sep 17 00:00:00 2001 From: William Lohan Date: Wed, 23 Oct 2019 14:56:25 -0700 Subject: [PATCH] fix(card): add card content selectors issue #17487 --- src/material/card/card.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/card/card.ts b/src/material/card/card.ts index d885264026ce..c7b2bbea2bcb 100644 --- a/src/material/card/card.ts +++ b/src/material/card/card.ts @@ -23,7 +23,7 @@ import {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations'; * @docs-private */ @Directive({ - selector: 'mat-card-content', + selector: 'mat-card-content, [mat-card-content], [matCardContent]', host: {'class': 'mat-card-content'} }) export class MatCardContent {}