function removeAnimationStyle(requiredAnimationProperties) {
  var animation = requiredAnimationProperties.animation,
      valuesOfThePropertiesBeforeAnimating = requiredAnimationProperties.valuesOfThePropertiesBeforeAnimating;

  if (!animation.removeChanges) {
    return;
  }

  resetAnimationStyle(animation);
  var targets = animation.targets;

  var _loop = function _loop(index) {
    var targetObject = targets[index];
    var target = targetObject.target;
    var beforeAnimating = valuesOfThePropertiesBeforeAnimating[index];

    if ((0,_utilities_is_dom_element__WEBPACK_IMPORTED_MODULE_5__.default)(target)) {
      resetHTMLElement(target, beforeAnimating);
    }

    (0,_utilities_custom_for_in__WEBPACK_IMPORTED_MODULE_3__.default)(beforeAnimating.direct, function (value, name) {
      target[name] = value;
    });
  };

  for (var index = targets.length - 1; index > -1; index -= 1) {
    _loop(index);
  }
}
/**
 * Removes the style added by the animation.
 */
Removes the style added by the animation.
Removes the style added by the animation .
function removeAnimationStyle(requiredAnimationProperties) {
  var animation = requiredAnimationProperties.animation,
      valuesOfThePropertiesBeforeAnimating = requiredAnimationProperties.valuesOfThePropertiesBeforeAnimating;
  if (!animation.removeChanges) {
    return;
  }
  resetAnimationStyle(animation);
  var targets = animation.targets;
  var _loop = function _loop(index) {
    var targetObject = targets[index];
    var target = targetObject.target;
    var beforeAnimating = valuesOfThePropertiesBeforeAnimating[index];
    if ((0,_utilities_is_dom_element__WEBPACK_IMPORTED_MODULE_5__.default)(target)) {
      resetHTMLElement(target, beforeAnimating);
    }
    (0,_utilities_custom_for_in__WEBPACK_IMPORTED_MODULE_3__.default)(beforeAnimating.direct, function (value, name) {
      target[name] = value;
    });
  };
  for (var index = targets.length - 1; index > -1; index -= 1) {
    _loop(index);
  }
}
function removeAnimationStyle ( requiredAnimationProperties ) { var animation = requiredAnimationProperties . animation , valuesOfThePropertiesBeforeAnimating = requiredAnimationProperties . valuesOfThePropertiesBeforeAnimating ; if ( ! animation . removeChanges ) { return ; } resetAnimationStyle ( animation ) ; var targets = animation . targets ; var _loop = function _loop ( index ) { var targetObject = targets [ index ] ; var target = targetObject . target ; var beforeAnimating = valuesOfThePropertiesBeforeAnimating [ index ] ; if ( ( 0 , _utilities_is_dom_element__WEBPACK_IMPORTED_MODULE_5__ . default ) ( target ) ) { resetHTMLElement ( target , beforeAnimating ) ; } ( 0 , _utilities_custom_for_in__WEBPACK_IMPORTED_MODULE_3__ . default ) ( beforeAnimating . direct , function ( value , name ) { target [ name ] = value ; } ) ; } ; for ( var index = targets . length - 1 ; index > - 1 ; index -= 1 ) { _loop ( index ) ; } }
Removes the style added by the animation.
Removes the style added by the animation .