window.landheight Property

This property returns the visible screen height (in pixels) on the device for landscape

intel.xdk.display.window.landheight

Description:

This property is only set by a call to intel.xdk.display.lockViewportWindow. Otherwise the returned value is 0.

Example:


//detect the current visible screen height of the device for landscape
var landHeight = intel.xdk.display.window.landheight;
             
For more complete information about compiler optimizations, see our Optimization Notice.