Skip to content

Commit 5401554

Browse files
committed
md-grid list and tile
1 parent dddc7e2 commit 5401554

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<snippet>
22
<content><![CDATA[
3-
<md-grid-list md-cols="5" md-gutter="1em" md-row-height="4:3">
4-
<md-grid-tile>$1</md-grid-tile>
3+
<md-grid-list md-cols="${1:number}" md-gutter="${2:string}" md-row-height="${3:string}" md-on-layout="${4:expr}">
4+
${5:<md-grid-tile>$6</md-grid-tile>}
55
</md-grid-list>
66
]]></content>
77
<tabTrigger>md-grid-list</tabTrigger>
8-
<description>Angular Material - Grid lists are an alternative to standard list views. Grid lists are distinct from grids used for layouts and other visual presentations.</description>
8+
<description>Angular Material - md-grid-list</description>
99
<scope>text.html</scope>
1010
</snippet>
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
<snippet>
22
<content><![CDATA[
3-
<md-grid-tile>
4-
<md-grid-tile-footer>
5-
<h3>This is a footer</h3>
6-
</md-grid-tile-footer>
3+
<md-grid-tile ${1:md-colspan="${2:number}"} ${3:md-rowspan="${4:number}"}>
4+
${5:<md-grid-tile-header>
5+
${6:<h3>$7</h3>}
6+
</md-grid-tile-header>}
7+
${8:<md-grid-tile-footer>
8+
${9:<h3>$10</h3>}
9+
</md-grid-tile-footer>}
710
</md-grid-tile>
811
]]></content>
912
<tabTrigger>md-grid-tile</tabTrigger>
10-
<description>Angular Material - Tiles contain the content of an md-grid-list. They span one or more grid cells vertically or horizontally, and use md-grid-tile-{footer,header} to display secondary content within the tile.</description>
13+
<description>Angular Material - md-grid-tile</description>
1114
<scope>text.html</scope>
12-
</snippet>
15+
</snippet>

0 commit comments

Comments
 (0)