Skip to content

Commit 985dcca

Browse files
committed
more options for md-card
1 parent 12d97c3 commit 985dcca

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<snippet>
22
<content><![CDATA[<md-button ${1:class="${2:md-raised|md-fab|md-mini}"} ${3:href="${4:http://google.com}"} ${5:ng-disabled="${6:true|false}"} aria-label="${7:description}" ${8:md-no-ink="${9:true|false}"} ${10:md-ripple-size="${11:full|partial|auto}"}>${12:content}</md-button>]]></content>
33
<tabTrigger>md-button</tabTrigger>
4-
<description>Angular Material Button directive with options</description>
4+
<description>Angular Material - Button directive with options</description>
55
<scope>text.html</scope>
66
</snippet>

directives/md-card.sublime-snippet

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
<snippet>
22
<content><![CDATA[
33
<md-card>
4-
<img src="card-image.png" class="md-card-image" alt="image caption">
5-
<md-card-content>
6-
<h2>Card headline</h2>
7-
<p>Card content</p>
8-
</md-card-content>
9-
<md-card-footer>
10-
Card footer
11-
</md-card-footer>
4+
${1:<img class="md-card-image" src="${2:card-image.png}" alt="${3:image caption}">}
5+
<md-card-content>
6+
<h2>${4:Card headline}</h2>
7+
<p>${5:Card content}</p>
8+
</md-card-content>
9+
${6:<md-card-footer>
10+
${7:Card footer}
11+
</md-card-footer>}
12+
${8:<div class="md-actions" layout="${9:row|column}" layout-align="${10:start|end|center} ${11:start|end|center}">
13+
${12:<md-button>${13:content}</md-button>}
14+
</div>}
1215
</md-card>
1316
]]></content>
1417
<tabTrigger>md-card</tabTrigger>
15-
<description>Angular Material - Card with optional footer</description>
18+
<description>Angular Material - Card with options</description>
1619
<scope>text.html</scope>
17-
</snippet>
20+
</snippet>

0 commit comments

Comments
 (0)