function (transform, addTransition, transition) {
      var css = {};
      angular.forEach($mdConstant.CSS.TRANSFORM.split(' '), function (key) {
        css[key] = transform;
      });

      if (addTransition) {
        transition = transition || "all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important";
        css.transition = transition;
      }

      return css;
    }
function (transform, addTransition, transition) {
      var css = {};
      angular.forEach($mdConstant.CSS.TRANSFORM.split(' '), function (key) {
        css[key] = transform;
      });

      if (addTransition) {
        transition = transition || "all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important";
        css.transition = transition;
      }

      return css;
    }
function ( transform , addTransition , transition ) { var css = { } ; angular . forEach ( $mdConstant . CSS . TRANSFORM . split ( ' ' ) , function ( key ) { css [ key ] = transform ; } ) ; if ( addTransition ) { transition = transition || "all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important" ; css . transition = transition ; } return css ; }
Convert the translate CSS value to key/value pair(s).
Convert the translate CSS value to key / value pair ( s ) .
Returns a new CSS object with the given transform and transition