Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add m-table-flex m-table-column-flex #126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 52 additions & 27 deletions snippets/html.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,53 +259,53 @@
"}"
]
},
"Angular Container": {
"types": "typescript, html",
"Angular Container": {
"types": "typescript, html",
"prefix": "ng-container",
"description": "Angular Container",
"body": [
"<ng-container>${1}</ng-container>",
"$0"
]
},
"Angular Container with *ngFor": {
"types": "typescript, html",
},
"Angular Container with *ngFor": {
"types": "typescript, html",
"prefix": "ng-container-ngfor",
"description": "Angular Container with *ngFor",
"body": [
"<ng-container *ngFor=\"let ${1:item} of ${2:items}\">",
" ${3:content}",
"</ng-container>",
"body": [
"<ng-container *ngFor=\"let ${1:item} of ${2:items}\">",
" ${3:content}",
"</ng-container>",
"$0"
]
},
"Angular Container with *ngTemplateOutlet": {
"types": "typescript, html",
},
"Angular Container with *ngTemplateOutlet": {
"types": "typescript, html",
"prefix": "ng-container-template",
"description": "Angular Container with *ngTemplateOutlet",
"body": [
"body": [
"<ng-container *ngTemplateOutlet=\"${1}\"></ng-container>",
"$0"
]
},
"Angular Container with *ngContainerOutlet": {
"types": "typescript, html",
},
"Angular Container with *ngContainerOutlet": {
"types": "typescript, html",
"prefix": "ng-container-component",
"description": "Angular Container with *ngContainerOutlet",
"body": [
"body": [
"<ng-container *ngComponentOutlet=\"${1}\"></ng-container>",
"$0"
]
},
"Angular template": {
"types": "typescript, html",
]
},
"Angular template": {
"types": "typescript, html",
"prefix": "ng-template",
"description": "Angular template",
"body": [
"body": [
"<ng-template #${1:name}></ng-template>",
"$0"
]
},
},
"Angular ngModel Directive": {
"prefix": "ng-model",
"description": "ngModel directive: [(ngModel)]=\"name\"",
Expand Down Expand Up @@ -1145,6 +1145,32 @@
"</ng-container>$0"
]
},
"Material Table Flex": {
"prefix": "m-table-flex",
"description": "Material Table Flex",
"types": "typescript, html",
"body": [
"<mat-table #table [dataSource]=\"${dataSource}\">",
"\t<ng-container matColumnDef=\"${column}\">",
"\t\t<mat-header-cell *matHeaderCellDef> ${header} </mat-header-cell>",
"\t\t<mat-cell *matCellDef=\"let row\"> {{row.${column}}} </mat-cell>",
"\t</ng-container>",
"\t<mat-header-row *matHeaderRowDef=\"['${column}']\"></mat-header-row>",
"\t<mat-row *matRowDef=\"let row; columns: ['${column}'];\"></mat-row>",
"</mat-table>$0"
]
},
"Material Table Column Flex": {
"prefix": "m-table-column-flex",
"description": "Material Table Column Flex",
"types": "typescript, html",
"body": [
"<ng-container matColumnDef=\"${column}\">",
"\t<mat-header-cell *matHeaderCellDef> ${header} </mat-header-cell>",
"\t<mat-cell *matCellDef=\"let row\"> {{row.${column}}} </mat-cell>",
"</ng-container>$0"
]
},
"Material Grid List": {
"prefix": "m-grid-list",
"description": "Material Grid List",
Expand Down Expand Up @@ -1348,14 +1374,13 @@
"<link rel=\"manifest\" href=\"./manifest.json\">$0"
]
},
"Angular content": {
"types": "typescript, html",
"Angular content": {
"types": "typescript, html",
"prefix": "ng-content",
"description": "Angular content",
"body": [
"body": [
"<ng-content #${1:name}></ng-content>",
"$0"
]
}
}