aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular/loader/loader.component.html.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/angular/loader/loader.component.html.ts')
-rw-r--r--src/angular/loader/loader.component.html.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/angular/loader/loader.component.html.ts b/src/angular/loader/loader.component.html.ts
new file mode 100644
index 0000000..074854a
--- /dev/null
+++ b/src/angular/loader/loader.component.html.ts
@@ -0,0 +1,13 @@
+export const template = `
+<div class = "sdc-loader-wrapper" *ngIf="!global">
+ <div class="sdc-loader-background" *ngIf="active">
+ <div class="sdc-loader {{ size }}" *ngIf="active"></div>
+ </div>
+ <ng-content></ng-content>
+</div>
+<div *ngIf="global&&active">
+ <div class="sdc-loader-global-wrapper sdc-loader-background" >
+ <div class="sdc-loader {{ size }}"></div>
+ </div>
+</div>
+`;