aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/ui/loader/loader.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/ng2/components/ui/loader/loader.component.html')
-rw-r--r--catalog-ui/src/app/ng2/components/ui/loader/loader.component.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/catalog-ui/src/app/ng2/components/ui/loader/loader.component.html b/catalog-ui/src/app/ng2/components/ui/loader/loader.component.html
new file mode 100644
index 0000000000..a62aa114d9
--- /dev/null
+++ b/catalog-ui/src/app/ng2/components/ui/loader/loader.component.html
@@ -0,0 +1,6 @@
+<div *ngIf="isVisible" data-tests-id="tlv-loader" [ngClass]="relative ? 'loader-relative' : 'loader-fixed'"
+ [style.top]="offset.top" [style.left]="offset.left" [style.width]="offset.width" [style.height]="offset.height">
+ <div class="tlv-loader-back" [ngClass]="{'tlv-loader-relative':relative}"></div>
+ <div class="tlv-loader {{size}}"></div>
+</div>
+