aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/components/customLoader/custom-loader.component.html
blob: 999d5d3f953968975c700731db2d12eaf4380468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div>
  <div class="custom-loader-wrapper" *ngIf="!global" [attr.data-tests-id]="testId">
    <div class="custom-loader-background" *ngIf="active"
         [style.top]="offset.top" [style.left]="offset.left" [style.width]="offset.width"
         [style.height]="offset.height">
      <div class="custom-loader {{ size }}" *ngIf="active"></div>
    </div>
    <ng-content></ng-content>
  </div>
  <div *ngIf="global && active" [attr.data-tests-id]="testId">
    <div class="custom-loader-global-wrapper custom-loader-background">
      <div class="custom-loader {{ size }}"></div>
    </div>
  </div>
</div>