Predefined Live Templates for Angular 2 HTML
This topic lists all predefined live templates for Angular 2 HTML in ReSharper 2022.1. For more information about live templates, see Create source code using live templates
Template | Details |
---|---|
| Current file context Scope everywhere Body $CTX$ Parameters
|
| Insert new GUID Scope everywhere Body $GUID$ Parameters
|
| Create script tag Scope HTML and similar tags Body <script type="$attributeValue$">$END$</script> Parameters
|
| Create tag attribute Scope HTML and similar attributes Body $ATTR$="$END$" Parameters
|
| Scope Angular 2 HTML attributes Body [ngClass]="{'$cssClass$': $expression$}"$END$ Parameters
|
| Scope Angular 2 HTML attributes Body *ngFor="let $item$ of $list$"$END$ Parameters
|
| Scope Angular 2 HTML attributes Body *ngIf="$expression$"$END$ Parameters
|
| Scope Angular 2 HTML attributes Body [(ngModel)]="$binding$"$END$ Parameters
|
| Scope Angular 2 HTML attributes Body [routerLink]="['$routeName$']"$END$ Parameters
|
| Scope Angular 2 HTML attributes Body [ngStyle]="{'$style$': $expression$}"$END$ Parameters
|