src/sap.f/src/sap/f/shellBar/ResponsiveHandler.js
function (oContext) {
		oControl = oContext;

		// Get and calculate padding's
		this._iREMSize = parseInt(jQuery("body").css("font-size"));
		this._iChildControlMargin = parseInt(Parameters.get("_sap_f_ShellBar_ChildMargin"));
		this._iDoubleChildControlMargin = this._iChildControlMargin * 2;
		this._iCoPilotWidth = parseInt(Parameters.get("_sap_f_ShellBar_CoPilotWidth")) + this._iDoubleChildControlMargin;
		this._iHalfCoPilotWidth = this._iCoPilotWidth / 2;

		// Delegate used to attach on ShellBar lifecycle events
		this._oDelegate = {
			onAfterRendering: this.onAfterRendering,
			onBeforeRendering: this.onBeforeRendering
		};

		// Attach Event Delegates
		oControl.addDelegate(this._oDelegate, false, this);

		// Init resize handler method
		this._fnResize = this._resize;

		// Attach events
		oControl._oOverflowToolbar.attachEvent("_controlWidthChanged", this._handleResize, this);
	}
function (oContext) {
		oControl = oContext;

		// Get and calculate padding's
		this._iREMSize = parseInt(jQuery("body").css("font-size"));
		this._iChildControlMargin = parseInt(Parameters.get("_sap_f_ShellBar_ChildMargin"));
		this._iDoubleChildControlMargin = this._iChildControlMargin * 2;
		this._iCoPilotWidth = parseInt(Parameters.get("_sap_f_ShellBar_CoPilotWidth")) + this._iDoubleChildControlMargin;
		this._iHalfCoPilotWidth = this._iCoPilotWidth / 2;

		// Delegate used to attach on ShellBar lifecycle events
		this._oDelegate = {
			onAfterRendering: this.onAfterRendering,
			onBeforeRendering: this.onBeforeRendering
		};

		// Attach Event Delegates
		oControl.addDelegate(this._oDelegate, false, this);

		// Init resize handler method
		this._fnResize = this._resize;

		// Attach events
		oControl._oOverflowToolbar.attachEvent("_controlWidthChanged", this._handleResize, this);
	}
function ( oContext ) { oControl = oContext ; // Get and calculate padding's this . _iREMSize = parseInt ( jQuery ( "body" ) . css ( "font-size" ) ) ; this . _iChildControlMargin = parseInt ( Parameters . get ( "_sap_f_ShellBar_ChildMargin" ) ) ; this . _iDoubleChildControlMargin = this . _iChildControlMargin * 2 ; this . _iCoPilotWidth = parseInt ( Parameters . get ( "_sap_f_ShellBar_CoPilotWidth" ) ) + this . _iDoubleChildControlMargin ; this . _iHalfCoPilotWidth = this . _iCoPilotWidth / 2 ; // Delegate used to attach on ShellBar lifecycle events this . _oDelegate = { onAfterRendering : this . onAfterRendering , onBeforeRendering : this . onBeforeRendering } ; // Attach Event Delegates oControl . addDelegate ( this . _oDelegate , false , this ) ; // Init resize handler method this . _fnResize = this . _resize ; // Attach events oControl . _oOverflowToolbar . attachEvent ( "_controlWidthChanged" , this . _handleResize , this ) ; }
Class taking care of the control responsive behaviour.
@alias sap/f/shellBar/ResponsiveHandler
@since 1.63
@private
@property {object} oContext the context of the ShellBar control instance
Class taking care of the control responsive behaviour .