@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
17 lines (16 loc) • 400 B
TypeScript
declare class MainScreen {
private _metrics;
private initMetrics;
private get metrics();
get widthPixels(): number;
get heightPixels(): number;
get scale(): number;
get widthDIPs(): number;
get heightDIPs(): number;
_updateMetrics(): void;
}
export declare class Screen {
static mainScreen: MainScreen;
}
export declare const screen: typeof Screen;
export {};