C_Resize.js 902 B

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: hal
  3. // (C) Copyright IBM Corp. 2003, 2017.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. function C_Resize(el, _hRN1, _h4U1, _h931, _hSN1, _h5U1){C_Resize.baseConstructor.call(this, null, _h931);this._h0F2=el;this._hNQ1=_hRN1;this._hRW1=_h4U1;this._h2P=_hSN1;this._hSV1=_h5U1||U_Easing.Sine.F_EaseInOut;};C_Resize.F_Extends(C_ParallelAnimations);C_Resize.prototype.F_OnBeforePlay=function(){if(!isNaN(this._hNQ1)){this.F_Push( new C_StyleLengthTween( this._h0F2, "height", this._h0F2.offsetHeight, this._hNQ1, "px", null, this._h2P, this._hSV1 ) );}if(!isNaN(this._hRW1)){this.F_Push( new C_StyleLengthTween( this._h0F2, "width", this._h0F2.offsetWidth, this._hRW1, "px", null, this._h2P, this._hSV1 ) );}C_Resize.superClass.F_OnBeforePlay.call(this);};