@engie-group/ngx-gem-spaas
Version:
This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.
20 lines (19 loc) • 665 B
TypeScript
import { InjectionToken } from '@angular/core';
import * as i0 from "@angular/core";
export declare const WINDOW: InjectionToken<Window>;
export declare class WindowUtilsService {
private window;
constructor(window: Window);
getWindowWidth(): number;
getWindowHeight(): number;
getUserAgent(): string;
getLanguage(): string;
isOnline(): boolean;
getOrigin(): string;
reloadPage(): void;
redirectTo(url: string): void;
getLocation(): Location;
openWindow(url: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<WindowUtilsService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<WindowUtilsService>;
}