Get.width code example Example: how to get width in javascript int screenHeight = screenSize.height; int screenWidth = screenSize.width;