]>
Commit | Line | Data |
---|---|---|
37a44fc9 C |
1 | <ng-template #content> |
2 | <ng-content></ng-content> | |
3 | </ng-template> | |
4 | ||
5 | <a *ngIf="!href" [routerLink]="internalLink" [attr.title]="title" [tabindex]="tabindex"> | |
6 | <ng-template *ngTemplateOutlet="content"></ng-template> | |
7 | </a> | |
8 | ||
9 | <a *ngIf="href" [href]="href" [target]="target" [attr.title]="title" [tabindex]="tabindex"> | |
10 | <ng-template *ngTemplateOutlet="content"></ng-template> | |
11 | </a> |