跳到主要内容

mobage.shellapp.WebView

メソッド​

mobage.shellapp.WebView.getHeight​

Number getHeight()

WebView 内の実際の表示領域の高さを px で取得します。

パラメータ
なし

返り値

型説明
NumberWebView 内表示領域の高さ (単位: px)

サンプル

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

mobage.shellapp.WebView.getWidth​

Number getWidth()

WebView 内の実際の表示領域の幅を px で取得します。

パラメータ
なし

返り値

型説明
NumberWebView 内表示領域の幅 (単位: px)

サンプル

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

更新履歴​

  • 2012/12/11
    • 新規作成
  • メソッド
    • mobage.shellapp.WebView.getHeight
    • mobage.shellapp.WebView.getWidth
  • 更新履歴