Skip to main content

mobage.shellapp.WebView

Methods​

mobage.shellapp.WebView.getHeight​

Number getHeight()

This function gets the height in pixels of the actual display area in WebView.

Parameters
None

Return value

TypeDescription
NumberHeight (in pixels) of display area in WebView

Sample

var height = mobage.shellapp.WebView.getHeight();

mobage.shellapp.WebView.getWidth​

Number getWidth()

This function gets the width in pixels of the actual display area in WebView.

Parameters
None

Return value

TypeDescription
NumberWidth (in pixels) of display area in WebView

Sample

var width = mobage.shellapp.WebView.getWidth();

Revision History​

  • 12/11/2012
    • Initial release.
  • Methods
    • mobage.shellapp.WebView.getHeight
    • mobage.shellapp.WebView.getWidth
  • Revision History