aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/angular/link.component.html
blob: 2ea2df2b552c146d1074ba1277a31f0e86a51076 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
<ng-template #content>
  <ng-content></ng-content>
</ng-template>

<a *ngIf="!href" [routerLink]="internalLink" [attr.title]="title" [tabindex]="tabindex" [ngClass]="builtClasses">
  <ng-template *ngTemplateOutlet="content"></ng-template>
</a>

<a *ngIf="href" [href]="href" [target]="target" [attr.title]="title" [tabindex]="tabindex" [ngClass]="builtClasses">
  <ng-template *ngTemplateOutlet="content"></ng-template>
</a>