Skip to content

Commit

Permalink
feat(infinite-scroll): add disabled and position
Browse files Browse the repository at this point in the history
  • Loading branch information
marcjulian committed Jan 17, 2020
1 parent 155588e commit b21ae65
Showing 1 changed file with 24 additions and 76 deletions.
100 changes: 24 additions & 76 deletions snippets/angular/html.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
{
"ion-app": {
"prefix": "i-app",
"body": [
"<ion-app>",
"</ion-app>"
],
"body": ["<ion-app>", "</ion-app>"],
"description": "<ion-app>"
},
"ion-avatar": {
"prefix": "i-avatar",
"body": [
"<ion-avatar>",
"\t<img [src]=\"${1:image}\" />",
"</ion-avatar>"
],
"body": ["<ion-avatar>", "\t<img [src]=\"${1:image}\" />", "</ion-avatar>"],
"description": "<ion-avatar>"
},
"ion-back-button": {
Expand All @@ -36,9 +29,7 @@
},
"ion-backdrop": {
"prefix": "i-backdrop",
"body": [
"<ion-backdrop></ion-backdrop>"
],
"body": ["<ion-backdrop></ion-backdrop>"],
"description": "<ion-backdrop>"
},
"ion-backdrop-props": {
Expand Down Expand Up @@ -110,11 +101,7 @@
},
"ion-card": {
"prefix": "i-card",
"body": [
"<ion-card>",
"\t$0",
"</ion-card>"
],
"body": ["<ion-card>", "\t$0", "</ion-card>"],
"description": "<ion-card>"
},
"ion-card-button": {
Expand All @@ -128,11 +115,7 @@
},
"ion-card-href": {
"prefix": "i-card-href",
"body": [
"<ion-card href=\"${1:home}\">",
"\t$0",
"</ion-card>"
],
"body": ["<ion-card href=\"${1:home}\">", "\t$0", "</ion-card>"],
"description": "<ion-card> w/ href"
},
"ion-card-loop": {
Expand Down Expand Up @@ -180,23 +163,17 @@
},
"ion-card-subtitle": {
"prefix": "i-card-subtitle",
"body": [
"<ion-card-subtitle>${1:Awesome Subtitle}</ion-card-subtitle>"
],
"body": ["<ion-card-subtitle>${1:Awesome Subtitle}</ion-card-subtitle>"],
"description": "<ion-card-subtitle>"
},
"ion-card-title": {
"prefix": "i-card-title",
"body": [
"<ion-card-title>${1:Awesome Title}</ion-card-title>"
],
"body": ["<ion-card-title>${1:Awesome Title}</ion-card-title>"],
"description": "<ion-card-title>"
},
"ion-checkbox": {
"prefix": "i-checkbox",
"body": [
"<ion-checkbox></ion-checkbox>"
],
"body": ["<ion-checkbox></ion-checkbox>"],
"description": "<ion-checkbox>"
},
"ion-chip": {
Expand Down Expand Up @@ -251,10 +228,7 @@
},
"ion-content": {
"prefix": "i-content",
"body": [
"<ion-content>",
"</ion-content>"
],
"body": ["<ion-content>", "</ion-content>"],
"description": "<ion-content>"
},
"ion-content-events": {
Expand Down Expand Up @@ -454,16 +428,14 @@
},
"ion-img": {
"prefix": "i-img",
"body": [
"<ion-img [src]=\"${1:image}\"></ion-img>"
],
"body": ["<ion-img [src]=\"${1:image}\"></ion-img>"],
"description": "<ion-img> lazyily load an image"
},
"ion-infinite-scroll": {
"prefix": "i-infinite-scroll",
"body": [
"<ion-infinite-scroll threshold=\"${1:25}${2|%,px|}\" (ionInfinite)=\"${3:loadData}(\\$event)\">",
"\t<ion-infinite-scroll-content loadingSpinner=\"${4|bubbles,circles,circular,crescent,dots,lines,lines-small|}\" loadingText=\"${5:Loading more data...}\">",
"<ion-infinite-scroll threshold=\"${1:25}${2|%,px|}\" [disabled]=\"${3|true,false|}\" position=\"${4|bottom,top|}\" (ionInfinite)=\"${5:loadData}(\\$event)\">",
"\t<ion-infinite-scroll-content loadingSpinner=\"${6|bubbles,circles,circular,crescent,dots,lines,lines-small|}\" loadingText=\"${7:Loading more data...}\">",
"\t</ion-infinite-scroll-content>",
"</ion-infinite-scroll>"
],
Expand Down Expand Up @@ -688,9 +660,7 @@
},
"ion-label": {
"prefix": "i-label",
"body": [
"<ion-label>${1:Label}</ion-label>"
],
"body": ["<ion-label>${1:Label}</ion-label>"],
"description": "<ion-label>"
},
"ion-label-floating": {
Expand Down Expand Up @@ -719,11 +689,7 @@
},
"ion-list": {
"prefix": "i-list",
"body": [
"<ion-list>",
"\t$0",
"</ion-list>"
],
"body": ["<ion-list>", "\t$0", "</ion-list>"],
"description": "<ion-list>"
},
"ion-list-header": {
Expand Down Expand Up @@ -819,9 +785,7 @@
},
"ion-note": {
"prefix": "i-note",
"body": [
"<ion-note>${1:42}</ion-note>"
],
"body": ["<ion-note>${1:42}</ion-note>"],
"description": "<ion-note>"
},
"ion-progress": {
Expand All @@ -833,16 +797,12 @@
},
"ion-radio": {
"prefix": "i-radio",
"body": [
"<ion-radio value=\"${1:ford}\"></ion-radio>"
],
"body": ["<ion-radio value=\"${1:ford}\"></ion-radio>"],
"description": "<ion-radio>"
},
"ion-radio-checked": {
"prefix": "i-radio-checked",
"body": [
"<ion-radio value=\"${1:ford}\" checked></ion-radio>"
],
"body": ["<ion-radio value=\"${1:ford}\" checked></ion-radio>"],
"description": "<ion-radio> checked"
},
"ion-radio-group": {
Expand Down Expand Up @@ -1002,9 +962,7 @@
},
"ion-router-outlet": {
"prefix": "i-router-outlet",
"body": [
"<ion-router-outlet><ion-router-outlet>"
],
"body": ["<ion-router-outlet><ion-router-outlet>"],
"description": "<ion-router-outlet> should only be used with Angular projects"
},
"ion-row": {
Expand Down Expand Up @@ -1112,9 +1070,7 @@
},
"ion-skeleton-text": {
"prefix": "i-skeleton-text",
"body": [
"<ion-skeleton-text width=\"${1:80}%\"></ion-skeleton-text>"
],
"body": ["<ion-skeleton-text width=\"${1:80}%\"></ion-skeleton-text>"],
"description": "<ion-skeleton-text>"
},
"ion-slide": {
Expand Down Expand Up @@ -1246,16 +1202,12 @@
},
"ion-text-required": {
"prefix": "i-text-required",
"body": [
"<ion-text color=\"danger\">*</ion-text>"
],
"body": ["<ion-text color=\"danger\">*</ion-text>"],
"description": "<ion-text> w/ required hint"
},
"ion-textarea": {
"prefix": "i-textarea",
"body": [
"<ion-textarea></ion-textarea>"
],
"body": ["<ion-textarea></ion-textarea>"],
"description": "<ion-textarea>"
},
"ion-textarea-w-placeholder": {
Expand Down Expand Up @@ -1288,16 +1240,12 @@
},
"ion-title": {
"prefix": "i-title",
"body": [
"<ion-title>${1:Title}</ion-title>"
],
"body": ["<ion-title>${1:Title}</ion-title>"],
"description": "<ion-title>"
},
"ion-toggle": {
"prefix": "i-toggle",
"body": [
"<ion-toggle></ion-toggle>"
],
"body": ["<ion-toggle></ion-toggle>"],
"description": "<ion-toggle>"
},
"ion-toolbar": {
Expand Down Expand Up @@ -1347,4 +1295,4 @@
],
"description": "<ion-virtual-scroll> with header function"
}
}
}

0 comments on commit b21ae65

Please sign in to comment.