Predefined Live Templates for Angular 2 HTML
This topic lists all predefined live templates for Angular 2 HTML in ReSharper 2024.2. For more information about live templates, refer to 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
|