aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/shared-main/angular/link.component.html
blob: e61a1e085d43930fb71a7e48dbeb8b08b5ca86c7 (plain) (tree)
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">
  <ng-template *ngTemplateOutlet="content"></ng-template>
</a>

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