src/sap.ui.dt/src/sap/ui/dt/ContextMenuControl.js
function () {
			var oViewport = {};
			oViewport.width = window.innerWidth;
			oViewport.height = window.innerHeight;
			oViewport.top = parseInt(jQuery(".type_standalone").css("height")) || 0;
			oViewport.bottom = oViewport.top + oViewport.height;

			return oViewport;
		}
function () {
			var oViewport = {};
			oViewport.width = window.innerWidth;
			oViewport.height = window.innerHeight;
			oViewport.top = parseInt(jQuery(".type_standalone").css("height")) || 0;
			oViewport.bottom = oViewport.top + oViewport.height;

			return oViewport;
		}
function ( ) { var oViewport = { } ; oViewport . width = window . innerWidth ; oViewport . height = window . innerHeight ; oViewport . top = parseInt ( jQuery ( ".type_standalone" ) . css ( "height" ) ) || 0 ; oViewport . bottom = oViewport . top + oViewport . height ; return oViewport ; }
Gets the dimensions of the viewport
@return {object} the dimensions of the viewport
Gets the dimensions of the viewport