Phonegap Build Example using the "window" 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-window

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

This app uses W3 Schools as the reference.

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

Properties

  • innerHeight - Returns the height of the window's content area (viewport) including scrollbars
  • innerWidth - Returns the width of a window's content area (viewport) including scrollbars
  • outerHeight - Returns the height of the browser window, including toolbars/scrollbars
  • outerWidth - Returns the width of the browser window, including toolbars/scrollbars

Methods

  • alert() - Displays an alert box with a message and an OK button. Nothing is returned.
  • confirm() - Displays a dialog box with a message and an OK and a Cancel button. The confirm() method returns true if the user clicked "OK", and false otherwise.
  • prompt() Displays a dialog box that prompts the visitor for input. The prompt() method returns the input value if the user clicks "OK". If the user clicks "cancel" the method returns null.