aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/components/customLoader/custom-loader.component.html
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2020-01-20 14:28:51 +0000
committerGerrit Code Review <gerrit@onap.org>2020-01-20 14:28:51 +0000
commitb96cada06214d609d32a38ca89d71cc53169324c (patch)
tree35fcc081205b4ea6d972a6bf1d1d6e75f08e3339 /vid-webpack-master/src/app/shared/components/customLoader/custom-loader.component.html
parent06b0edf4736bde914aeefb9c13625cf3a0fbb669 (diff)
parent3279721d72b3e5adadf5431c58383e71f6b080d7 (diff)
Merge "Move onap UI loader and icons to VID"
Diffstat (limited to 'vid-webpack-master/src/app/shared/components/customLoader/custom-loader.component.html')
-rw-r--r--vid-webpack-master/src/app/shared/components/customLoader/custom-loader.component.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/vid-webpack-master/src/app/shared/components/customLoader/custom-loader.component.html b/vid-webpack-master/src/app/shared/components/customLoader/custom-loader.component.html
new file mode 100644
index 000000000..999d5d3f9
--- /dev/null
+++ b/vid-webpack-master/src/app/shared/components/customLoader/custom-loader.component.html
@@ -0,0 +1,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>