Blame view

天文台pc/tianwentai-ui/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs 524 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
  import { animateMotionValue } from '../interfaces/motion-value.mjs';
  import { motionValue } from '../../value/index.mjs';
  import { isMotionValue } from '../../value/utils/is-motion-value.mjs';
  
  function animateSingleValue(value, keyframes, options) {
      const motionValue$1 = isMotionValue(value) ? value : motionValue(value);
      motionValue$1.start(animateMotionValue("", motionValue$1, keyframes, options));
      return motionValue$1.animation;
  }
  
  export { animateSingleValue };
  //# sourceMappingURL=single-value.mjs.map