code: function Utilities_resizeTransition(elementClipper, element, args) {
              if (args.to === args.from || !_TransitionAnimation.isAnimationEnabled()) {
                  return Promise.as();
              } else {
                  var animationsToPlay = resizeTransition(elementClipper, element, args);
                  var animationPromises = [];
                  for (var i = 0, len = animationsToPlay.length; i < len; i++) {
                      animationPromises.push(transformWithTransition(animationsToPlay[i].element, animationsToPlay[i].transition));
                  }
                  return Promise.join(animationPromises);
              }
          }
docs: Plays an animation which makes an element look like it is resizing in 1 dimension. Arguments: - elementClipper: The parent of *element*. It shouldn't have any margin, border, or padding and its size should match element's size. Its purpose is to clip *element* during the animation to give it the illusion that it is resizing. - element: The element that should look like it's resizing. - args: An object with the following properties (each is required unless noted otherwise): - from: A number representing the old total width/height of the element. - to: A number representing the new total width/height of the element. - actualSize: A number representing the actual total width/height of the element (should be at least as big as from and to). The element should be at *actualSize* when this function is called. from/to/actualSize represent the width/height of *element*'s margin box (e.g. getTotalWidth). - dimension: The dimension on which *element* is resizing. Either "width" or "height". - anchorTrailingEdge (optional): During the resize animation, one edge will move and the other edge will remain where it is. This flag specifies which edge is anchored (i.e. won't move). - duration (optional): Number representing the duration of the animation in milliseconds. - timing (optional): String representing the CSS timing function that controls the progress of the animation.