Skip to content

Commit b22015d

Browse files
committed
Enhancing matTable
1 parent a9d88e7 commit b22015d

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![Installs](https://vsmarketplacebadge.apphb.com/installs-short/Mikael.Angular-BeastCode.svg)](https://marketplace.visualstudio.com/items?itemName=Mikael.Angular-BeastCode)
33

44
# VSCode Angular TypeScript & Html Snippets
5-
Visual Studio Code TypeScript and Html snippets and code examples for Angular 2,4,5,6 & 7.
5+
Visual Studio Code TypeScript and Html snippets and code examples for Angular 2,4,5,6, 7 & 8 Beta.
66

77
All code snippets are based on and follow the Angular style guide https://angular.io/docs/ts/latest/guide/style-guide.html
88

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Angular-BeastCode",
33
"publisher": "Mikael",
44
"displayName": "Angular 7 Snippets - TypeScript, Html, Angular Material, ngRx, RxJS & Flex Layout",
5-
"description": "232 Angular Snippets (TypeScript, Html, Angular Material, Flex Layout, ngRx, RxJS, PWA & Testing) Updated for v7.0.0",
5+
"description": "232 Angular Snippets (TypeScript, Html, Angular Material, Flex Layout, ngRx, RxJS, PWA & Testing) Updated for v8 Beta",
66
"icon": "images/Angular4.png",
77
"license": "MIT",
88
"repository": {

Diff for: snippets/html.json

+1-1
Large diffs are not rendered by default.

Diff for: snippets/typescript.json

+1-1
Large diffs are not rendered by default.

Diff for: src/README_top.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![Installs](https://vsmarketplacebadge.apphb.com/installs-short/Mikael.Angular-BeastCode.svg)](https://marketplace.visualstudio.com/items?itemName=Mikael.Angular-BeastCode)
33

44
# VSCode Angular TypeScript & Html Snippets
5-
Visual Studio Code TypeScript and Html snippets and code examples for Angular 2,4,5,6 & 7.
5+
Visual Studio Code TypeScript and Html snippets and code examples for Angular 2,4,5,6, 7 & 8 Beta.
66

77
All code snippets are based on and follow the Angular style guide https://angular.io/docs/ts/latest/guide/style-guide.html
88

Diff for: src/snippets.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -2168,9 +2168,9 @@
21682168
"types": "typescript, html",
21692169
"body": [
21702170
"<table mat-table #table [dataSource]=\"${dataSource}\">",
2171-
"\t<ng-container cdkColumnDef=\"${column}\">",
2172-
"\t\t<th mat-header-cell *cdkHeaderCellDef> ${header} </th>",
2173-
"\t\t<td mat-cell *cdkCellDef=\"let row\"> {{row.${column}}} </td>",
2171+
"\t<ng-container matColumnDef=\"${column}\">",
2172+
"\t\t<th mat-header-cell *matHeaderCellDef> ${header} </th>",
2173+
"\t\t<td mat-cell *matCellDef=\"let row\"> {{row.${column}}} </td>",
21742174
"\t</ng-container>",
21752175
"\t<tr mat-header-row *matHeaderRowDef=\"['${column}']\"></tr>",
21762176
"\t<tr mat-row *matRowDef=\"let row; columns: ['${column}'];\"></tr>",
@@ -2182,9 +2182,9 @@
21822182
"description": "Material Table Column",
21832183
"types": "typescript, html",
21842184
"body": [
2185-
"<ng-container cdkColumnDef=\"${column}\">",
2186-
"\t<th mat-header-cell *cdkHeaderCellDef> ${header} </th>",
2187-
"\t<td mat-cell *cdkCellDef=\"let row\"> {{row.${column}}} </td>",
2185+
"<ng-container matColumnDef=\"${column}\">",
2186+
"\t<th mat-header-cell *matHeaderCellDef> ${header} </th>",
2187+
"\t<td mat-cell *matCellDef=\"let row\"> {{row.${column}}} </td>",
21882188
"</ng-container>$0"
21892189
]
21902190
},

0 commit comments

Comments
 (0)