Skip to content

Commit 1db8695

Browse files
committed
feat(card): add button and href snippet
1 parent 1750787 commit 1db8695

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Diff for: snippets/angular/html.json

+18
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,24 @@
113113
],
114114
"description": "<ion-card>"
115115
},
116+
"ion-card-button": {
117+
"prefix": "i-card-button",
118+
"body": [
119+
"<ion-card button (click)=\"${1:cardClick}()\">",
120+
"\t$0",
121+
"</ion-card>"
122+
],
123+
"description": "<ion-card> as button"
124+
},
125+
"ion-card-href": {
126+
"prefix": "i-card-href",
127+
"body": [
128+
"<ion-card href=\"${1:home}\">",
129+
"\t$0",
130+
"</ion-card>"
131+
],
132+
"description": "<ion-card> w/ href"
133+
},
116134
"ion-card-loop": {
117135
"prefix": "i-card-loop",
118136
"body": [

0 commit comments

Comments
 (0)