@foblex/platform
Version:
An Angular library providing a set of services for supporting server-side rendering (SSR) and other features.
22 lines (21 loc) • 810 B
TypeScript
import { IWindowService } from './i-window-service';
import * as i0 from "@angular/core";
export declare class ServerWindowService implements IWindowService {
getComputedStyle(element: Element): CSSStyleDeclaration;
get innerWidth(): number;
get innerHeight(): number;
get pageXOffset(): number;
get pageYOffset(): number;
isMediaQuery(query: string): boolean;
requestAnimationFrame(callback: FrameRequestCallback): number;
get location(): {
href: string;
pathname: string;
search: string;
hash: string;
origin: string;
};
open(url?: string, target?: string, features?: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ServerWindowService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ServerWindowService>;
}