From 1bc06a1ff0e3b31865390fedd85b65195af81007 Mon Sep 17 00:00:00 2001 From: Giacomo Date: Fri, 3 Jan 2020 11:57:08 +0100 Subject: [PATCH] Add m-table-flex m-table-column-flex --- snippets/html.json | 82 ++++++++++++++++++++++++++++++---------------- 1 file changed, 54 insertions(+), 28 deletions(-) diff --git a/snippets/html.json b/snippets/html.json index a0a2510..38772d7 100644 --- a/snippets/html.json +++ b/snippets/html.json @@ -259,53 +259,53 @@ "}" ] }, - "Angular Container": { - "types": "typescript, html", + "Angular Container": { + "types": "typescript, html", "prefix": "ng-container", "description": "Angular Container", "body": [ "${1}", "$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": [ - "", - " ${3:content}", - "", + "body": [ + "", + " ${3:content}", + "", "$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": [ "", "$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": [ "", "$0" - ] - }, - "Angular template": { - "types": "typescript, html", + ] + }, + "Angular template": { + "types": "typescript, html", "prefix": "ng-template", "description": "Angular template", - "body": [ + "body": [ "", "$0" ] - }, + }, "Angular ngModel Directive": { "prefix": "ng-model", "description": "ngModel directive: [(ngModel)]=\"name\"", @@ -1145,6 +1145,32 @@ "$0" ] }, + "Material Table Flex": { + "prefix": "m-table-flex", + "description": "Material Table Flex", + "types": "typescript, html", + "body": [ + "", + "\t", + "\t\t ${header} ", + "\t\t {{row.${column}}} ", + "\t", + "\t", + "\t", + "$0" + ] + }, + "Material Table Column Flex": { + "prefix": "m-table-column-flex", + "description": "Material Table Column Flex", + "types": "typescript, html", + "body": [ + "", + "\t ${header} ", + "\t {{row.${column}}} ", + "$0" + ] + }, "Material Grid List": { "prefix": "m-grid-list", "description": "Material Grid List", @@ -1348,13 +1374,13 @@ "$0" ] }, - "Angular content": { - "types": "typescript, html", + "Angular content": { + "types": "typescript, html", "prefix": "ng-content", "description": "Angular content", - "body": [ + "body": [ "", "$0" ] - } -} + } +} \ No newline at end of file