ng-devui
Version:
DevUI components based on Angular
18 lines (17 loc) • 655 B
TypeScript
import { ElementRef } from '@angular/core';
import { DocumentRef } from './document-ref.service';
import * as i0 from "@angular/core";
export declare class WindowRef {
private documentRef;
constructor(documentRef: DocumentRef);
get window(): Window | null;
get document(): any;
get pageXOffset(): number;
get pageYOffset(): number;
get innerHeight(): number;
get innerWidth(): number;
getComputedStyle(element: any): CSSStyleDeclaration;
getBoundingClientRect(elementRef: ElementRef): any;
static ɵfac: i0.ɵɵFactoryDeclaration<WindowRef, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<WindowRef>;
}