You can get the application window's width and height through dimension api

October 15, 2022 ยท View on GitHub

Usage

import { View, Render, Window, Text, Image, Button, Dimensions } from 'lvgljs-ui';
import React, { useState } from 'react';

const { width, height } = Dimensions.window