heatmap.component.html 496 Bytes
Newer Older
Laura Morel's avatar
Laura Morel committed
1
2
3
4
5
6
7
8
9
10
<ng-container *ngIf="img; else noImg">
  <img  id="heatmap" [src]="img" *ngIf="!imgLoading; else spinner" />
  <ng-template #spinner>
    <ngx-spinner bdColor = "rgba(51,51,51,0.8)"
                 size = "medium"
                 color = "#ffffff"
                 type = "ball-newton-cradle"
                 [fullScreen] = "false">
      <p style="color: white" > Loading... </p></ngx-spinner>
  </ng-template>
Laura Morel's avatar
Laura Morel committed
11
</ng-container>
Laura Morel's avatar
Laura Morel committed
12
<ng-template #elseTemplate>
Laura Morel's avatar
Laura Morel committed
13
  <p> No heatmap </p>
Laura Morel's avatar
Laura Morel committed
14
</ng-template>