Skip to content

Commit 68cd57d

Browse files
committed
Added more css & js snippets
1 parent af6dd71 commit 68cd57d

File tree

125 files changed

+743
-32
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+743
-32
lines changed
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<snippet>
2-
<content><![CDATA[
2+
<content><![CDATA[
33
<div class="list">
44
<label class="item item-input">
55
<input type="text" placeholder="${1:First Name}">
@@ -8,13 +8,13 @@
88
<input type="text" placeholder="${2:Last Name}">
99
</label>
1010
<button class="button button-positive">
11-
submit
11+
${3:submit}
1212
</button>
1313
1414
</div>
1515
]]></content>
16-
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
17-
<tabTrigger>ion-form</tabTrigger>
18-
<!-- Optional: Set a scope to limit where the snippet will trigger -->
19-
<!-- <scope>source.python</scope> -->
16+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
17+
<tabTrigger>ion-form</tabTrigger>
18+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
19+
<!-- <scope>source.python</scope> -->
2020
</snippet>
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<snippet>
22
<content><![CDATA[
3-
<div class="item item-button-right">
3+
<div class="item item-button-right">
44
${1:Call Ma}
55
<button class="button button-positive">
66
<i class="icon ion-ios7-telephone"></i>
77
</button>
88
</div>
99
]]></content>
1010
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
11-
<tabTrigger>ion-telephone</tabTrigger>
11+
<tabTrigger>ion-list-button-positive</tabTrigger>
1212
<!-- Optional: Set a scope to limit where the snippet will trigger -->
1313
<!-- <scope>source.python</scope> -->
1414
</snippet>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<a class="item item-icon-left item-icon-right" href="${1:#}">
4+
<i class="icon ion-chatbubble-working"></i>
5+
${2:Call Ma}
6+
</a>
7+
]]></content>
8+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
9+
<tabTrigger>ion-list-icon-chatbubble</tabTrigger>
10+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
11+
<!-- <scope>source.python</scope> -->
12+
</snippet>
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<snippet>
22
<content><![CDATA[
3-
<a class="item item-icon-left" href="${2:#}">
3+
<a class="item item-icon-left" href="${1:#}">
44
<i class="icon ion-email"></i>
5-
${1:Check mail}
5+
${2:Check mail}
66
</a>
77
]]></content>
88
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
9-
<tabTrigger>ion-email</tabTrigger>
9+
<tabTrigger>ion-list-icon-email</tabTrigger>
1010
<!-- Optional: Set a scope to limit where the snippet will trigger -->
1111
<!-- <scope>source.python</scope> -->
1212
</snippet>

list/ion-mic-note.sublime-snippet renamed to css/list/ion-list-icon-mic.sublime-snippet

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</a>
1010
]]></content>
1111
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
12-
<tabTrigger>ion-mic-note</tabTrigger>
12+
<tabTrigger>ion-list-icon-mic</tabTrigger>
1313
<!-- Optional: Set a scope to limit where the snippet will trigger -->
1414
<!-- <scope>source.python</scope> -->
1515
</snippet>
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<snippet>
22
<content><![CDATA[
3-
<a class="item item-icon-left" href="${1:#}">
3+
<a class="item item-icon-left" href="${1:#}">
44
<i class="icon ion-person-stalker"></i>
55
${2:Friends}
66
<span class="badge badge-assertive">${3:0}</span>
77
</a>
88
]]></content>
99
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
10-
<tabTrigger>ion-person-badge</tabTrigger>
10+
<tabTrigger>ion-list-icon-person-stalker</tabTrigger>
1111
<!-- Optional: Set a scope to limit where the snippet will trigger -->
1212
<!-- <scope>source.python</scope> -->
1313
</snippet>
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<snippet>
22
<content><![CDATA[
33
<a class="item item-icon-left item-icon-right" href="${1:#}">
4-
<i class="icon ion-chatbubble-working"></i>
54
${2:Call Ma}
65
<i class="icon ion-ios7-telephone-outline"></i>
76
</a>
87
]]></content>
98
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
10-
<tabTrigger>ion-chat-phone</tabTrigger>
9+
<tabTrigger>ion-list-icon-telephone</tabTrigger>
1110
<!-- Optional: Set a scope to limit where the snippet will trigger -->
1211
<!-- <scope>source.python</scope> -->
1312
</snippet>
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
<snippet>
22
<content><![CDATA[
3-
<a class="item item-avatar" href="${1:#}">
4-
<img src="${2:venkman}.jpg">
3+
<a class="item item-avatar" href="${1:#}">
4+
<img src="${2:venkman.jpg}">
55
<h2>${3:Venkman}</h2>
66
<p>${4:Back off, man. I'm a scientist.}</p>
77
</a>
8-
...
98
]]></content>
109
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
11-
<tabTrigger>ion-item-avatar</tabTrigger>
10+
<tabTrigger>ion-list-item-avatar</tabTrigger>
1211
<!-- Optional: Set a scope to limit where the snippet will trigger -->
1312
<!-- <scope>source.python</scope> -->
1413
</snippet>
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
<snippet>
22
<content><![CDATA[
3-
<a class="item item-thumbnail-left" href="${1:#}">
4-
<img src="${2:cover}.jpg">
3+
<a class="item item-thumbnail-left" href="${1:#}">
4+
<img src="${2:cover.jpg}">
55
<h2>${3:Pretty Hate Machine}</h2>
66
<p>${4:Nine Inch Nails}</p>
77
</a>
8-
9-
...
108
]]></content>
119
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
12-
<tabTrigger>ion-item-thumbnail</tabTrigger>
10+
<tabTrigger>ion-list-item-thumbnail</tabTrigger>
1311
<!-- Optional: Set a scope to limit where the snippet will trigger -->
1412
<!-- <scope>source.python</scope> -->
1513
</snippet>
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<snippet>
2+
<content><![CDATA[
3+
function ${1:My}Ctrl(\$scope, \$ionicBackdrop, \$timeout) {
4+
${2://Show a backdrop for one second}
5+
\$scope.action = function() {
6+
\$ionicBackdrop.retain();
7+
\$timeout(function() {
8+
\$ionicBackdrop.release();
9+
}, ${3:1000});
10+
};
11+
}
12+
13+
]]></content>
14+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
15+
<tabTrigger>ion-js-$ionicBackdrop-ng</tabTrigger>
16+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
17+
<!-- <scope>source.python</scope> -->
18+
</snippet>
19+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<ion-content
4+
[delegate-handle="${1:}"]
5+
[direction="${2:}"]
6+
[padding="${3:}"]
7+
[scroll="${4:}"]
8+
[overflow-scroll="${5:}"]
9+
[scrollbar-x="${6:}"]
10+
[scrollbar-y="${7:}"]
11+
[start-y="${8:}"]
12+
[on-scroll="${9:}"]
13+
[on-scroll-complete="${10:}"]
14+
[has-bouncing="${11:}"]>
15+
${12:...}
16+
</ion-content>
17+
18+
]]></content>
19+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
20+
<tabTrigger>ion-js-content-full</tabTrigger>
21+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
22+
<!-- <scope>source.python</scope> -->
23+
</snippet>
24+
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<snippet>
22
<content><![CDATA[
3-
<ul class="list">
4-
<li class="item">
5-
${1:...}
6-
</li>
7-
</ul>
3+
<ion-content>
4+
${1:Some super content here!}
5+
</ion-content>
86
]]></content>
97
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
10-
<tabTrigger>ion-list-ul</tabTrigger>
8+
<tabTrigger>ion-js-content</tabTrigger>
119
<!-- Optional: Set a scope to limit where the snippet will trigger -->
1210
<!-- <scope>source.python</scope> -->
13-
</snippet>
11+
</snippet>
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<ion-pane>
4+
${1:...}
5+
</ion-pane>
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>ion-js-pane</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<!-- <scope>source.python</scope> -->
11+
</snippet>
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<ion-refresher
4+
pulling-text="${1:Pull to refresh...}"
5+
on-refresh="${2:doRefresh}()">
6+
</ion-refresher>
7+
]]></content>
8+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
9+
<tabTrigger>ion-js-refresher</tabTrigger>
10+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
11+
<!-- <scope>source.python</scope> -->
12+
</snippet>
13+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<button on-drag-down="${1:onDragDown}()" class="button">${2:Test}</button>
4+
5+
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>ion-js-on-drag-down</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<!-- <scope>source.python</scope> -->
11+
</snippet>
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<button on-drag-left="${1:onDragLeft}()" class="button">${2:Test}</button>
4+
5+
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>ion-js-on-drag-left</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<!-- <scope>source.python</scope> -->
11+
</snippet>
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<button on-drag-right="${1:onDragRight}()" class="button">${2:Test}</button>
4+
5+
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>ion-js-on-drag-right</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<!-- <scope>source.python</scope> -->
11+
</snippet>
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<button on-drag-up="${1:onDragUp}()" class="button">${2:Test}</button>
4+
5+
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>ion-js-on-drag-up</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<!-- <scope>source.python</scope> -->
11+
</snippet>
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<button on-drag="${1:onDrag}()" class="button">${2:Test}</button>
4+
5+
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>ion-js-on-drag</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<!-- <scope>source.python</scope> -->
11+
</snippet>
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<button on-hold="${1:onHold}()" class="button">${2:Test}</button>
4+
5+
]]></content>
6+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
7+
<tabTrigger>ion-js-on-hold</tabTrigger>
8+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
9+
<!-- <scope>source.python</scope> -->
10+
</snippet>
11+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<button on-release="${1:onRelease}()" class="button">${2:Test}</button>
4+
5+
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>ion-js-on-release</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<!-- <scope>source.python</scope> -->
11+
</snippet>
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<button on-swipe-down="${1:onSwipeDown}()" class="button">${2:Test}</button>
4+
5+
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>ion-js-on-swipe-down</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<!-- <scope>source.python</scope> -->
11+
</snippet>
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<button on-swipe-left="${1:onSwipeLeft}()" class="button">${2:Test}</button>
4+
5+
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>ion-js-on-swipe-left</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<!-- <scope>source.python</scope> -->
11+
</snippet>
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<button on-swipe-right="${1:onSwipeRight}()" class="button">${2:Test}</button>
4+
5+
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>ion-js-on-swipe-right</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<!-- <scope>source.python</scope> -->
11+
</snippet>
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
<button on-swipe-up="${1:onSwipeUp}()" class="button">${2:Test}</button>
4+
5+
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>ion-js-on-swipe-up</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<!-- <scope>source.python</scope> -->
11+
</snippet>
12+

0 commit comments

Comments
 (0)