Skip to content

jessemonroy650/pgb-example-window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors