coersystem
Version:
Library for Angular projects
19 lines (18 loc) • 826 B
TypeScript
import { IScreenSize } from "coersystem/interfaces";
import { Observable } from "rxjs";
export declare class Screen {
/** Gets the width of the browser window */
static get WINDOW_WIDTH(): number;
/** Gets the height of the screen window */
static get WINDOW_HEIGHT(): number;
/** Gets the width of the device screen */
static get DEVICE_WIDTH(): number;
/** Gets the height of the device screen */
static get DEVICE_HEIGHT(): number;
/** gets the breakpoint based on the width of the browsing window */
static get BREAKPOINT(): 'mv' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
/** Provides an observable for screen resizing */
static Resize: Observable<IScreenSize>;
/** Provides an observable for the browser buttons */
static BackButtonBrowser: Observable<string>;
}