ViewportHeight

Cordova ViewportHeight Plugin
peutetre0.0.20
platforms: wp8
$ cordova plugin add com.fortytwoloops.ViewportHeight

com.fortytwoloops.ViewportHeight experimental

Get the viewport height on Windows Phone

Installation

cordova plugin add https://github.com/peutetre/cordova-plugin-viewport-height.git

Supported Platforms

  • windows phone

Methods

  • window.ViewportHeight.get(success:function, error:function):void

get the viewport height as string

Notes

http://developer.nokia.com/community/wiki/Setting_WebBrowser_control_viewport_dimensions http://mail-archives.apache.org/mod_mbox/cordova-dev/201403.mbox/%3CCAKP6k2s=mgWtwLTD_h_2CTLss52VV81i4rdg8dxX4hSg0qp-yw@mail.gmail.com%3E