- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CardOverviewExample, isStandalone: true, selector: "card-overview-example", ngImport: i0, template: "<mat-card class=\"example-card\" appearance=\"outlined\">\n <mat-card-header>\n <div mat-card-avatar class=\"example-header-image\"></div>\n <mat-card-title>Shiba Inu</mat-card-title>\n <mat-card-subtitle>Dog Breed</mat-card-subtitle>\n </mat-card-header>\n <img mat-card-image src=\"https://material.angular.io/assets/img/examples/shiba2.jpg\" alt=\"Photo of a Shiba Inu\">\n <mat-card-content>\n <p>\n The Shiba Inu is the smallest of the six original and distinct spitz breeds of dog from Japan.\n A small, agile dog that copes very well with mountainous terrain, the Shiba Inu was originally\n bred for hunting.\n </p>\n </mat-card-content>\n <mat-card-actions>\n <button matButton>LIKE</button>\n <button matButton>SHARE</button>\n </mat-card-actions>\n</mat-card>\n", styles: [".example-card {\n max-width: 400px;\n}\n\n.example-header-image {\n background-image: url('https://material.angular.io/assets/img/examples/shiba1.jpg');\n background-size: cover;\n}\n"], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i1.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i1.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i1.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i1.MatCardImage, selector: "[mat-card-image], [matCardImage]" }, { kind: "directive", type: i1.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "directive", type: i1.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
0 commit comments