Skip to content

Commit

Permalink
added a few code completions for inside html templates
Browse files Browse the repository at this point in the history
  • Loading branch information
pjlamb12 committed May 5, 2016
1 parent 569a659 commit 3684190
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ng2-html.sublime-completions
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"scope": "text.html meta.tag",
"completions": [
{ "trigger": "*ngFor", "contents": "*ngFor=\"let ${1:item} of ${2:list}\" "}
{ "trigger": "*ngIf", "contents": "*ngIf=\"${1:condition}\" "}
{ "trigger": "ngModel", "contents": " [ngModel]=\"${1:model}\" "}
{ "trigger": "routerLink", "contents": " [routerLink]=\"['${1:RouteName}']\" "}
]
}

0 comments on commit 3684190

Please sign in to comment.