9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement

Defined in: platform/screen/index.d.ts:41

An object describing general information about a display.

Constructors

Constructor

ts
new Screen(): Screen;

Returns

Screen

Properties

mainScreen

ts
static mainScreen: ScreenMetrics;

Defined in: platform/screen/index.d.ts:45

Gets information about the main screen of the current device.

Previous
RootLayout