UNPKG

@foblex/platform

Version:

An Angular library providing a set of services for supporting server-side rendering (SSR) and other features.

19 lines (18 loc) 848 B
import { IWindowService } from './window'; import { ILocalStorage } from './local-storage'; import { PlatformService } from './platform.service'; import * as i0 from "@angular/core"; export declare class BrowserService { private injectedDocument; private windowService; private localStorageService; private platformService; constructor(injectedDocument: Document, windowService: IWindowService, localStorageService: ILocalStorage, platformService: PlatformService); isBrowser(): boolean; get window(): IWindowService; get localStorage(): ILocalStorage; get document(): Document; toPixels(value: string, clientWidth: number, clientHeight: number, fontSize: string): number; static ɵfac: i0.ɵɵFactoryDeclaration<BrowserService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<BrowserService>; }