summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/services/window.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/ng2/services/window.service.ts')
-rw-r--r--catalog-ui/src/app/ng2/services/window.service.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/catalog-ui/src/app/ng2/services/window.service.ts b/catalog-ui/src/app/ng2/services/window.service.ts
new file mode 100644
index 0000000000..0a11166f7b
--- /dev/null
+++ b/catalog-ui/src/app/ng2/services/window.service.ts
@@ -0,0 +1,8 @@
+import {Injectable} from "@angular/core";
+
+@Injectable()
+export class WindowRef {
+ get nativeWindow(): any {
+ return window;
+ }
+}