code: function(sAnimationMode) {
  			checkEnum(Configuration.AnimationMode, sAnimationMode, "animationMode");
  
  			// Set the animation to on or off depending on the animation mode to ensure backward compatibility.
  			this.animation = (sAnimationMode !== Configuration.AnimationMode.minimal && sAnimationMode !== Configuration.AnimationMode.none);
  
  			// Set the animation mode and update html attributes.
  			this.animationMode = sAnimationMode;
  			if (this._oCore && this._oCore._setupAnimation) {
  				this._oCore._setupAnimation();
  			}
  		}
docs: Sets the current animation mode.
  
  Expects an animation mode as string and validates it. If a wrong animation mode was set, an error is
  thrown. If the mode is valid it is set, then the attributes <code>data-sap-ui-animation</code> and
  <code>data-sap-ui-animation-mode</code> of the HTML document root element are also updated.
  If the <code>animationMode</code> is <code>Configuration.AnimationMode.none</code> the old
  <code>animation</code> property is set to <code>false</code>, otherwise it is set to <code>true</code>.
  
  @param {sap.ui.core.Configuration.AnimationMode} sAnimationMode A valid animation mode
  @throws {Error} If the provided <code>sAnimationMode</code> does not exist, an error is thrown
  @since 1.50.0
  @public