Phonegap Build Example using the "screen" object available in most webbrowser
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
buttons.css
config.xml
favicon-48x48.png
index.html

README.md

pgb-example-screen

Phonegap Build Example using the "screen" object available in most webbrowser

This app uses W3 Schools as the reference.

https://www.w3schools.com/jsref/obj_screen.asp

Properties

  • availHeight - Returns the height of the screen (excluding the Windows Taskbar)
  • availWidth - Returns the width of the screen (excluding the Windows Taskbar)
  • colorDepth - Returns the bit depth of the color palette for displaying images
  • height - Returns the total height of the screen
  • pixelDepth - Returns the color resolution (in bits per pixel) of the screen
  • width - Returns the total width of the screen