mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-09-28 19:07:40 +00:00
15 lines
208 B
TypeScript
15 lines
208 B
TypeScript
import { Injectable } from '@angular/core';
|
|
|
|
function _window(): any {
|
|
return window;
|
|
}
|
|
|
|
|
|
@Injectable({providedIn: 'root'})
|
|
export class WindowRef {
|
|
|
|
get nativeWindow(): any {
|
|
return _window();
|
|
}
|
|
}
|