Blame view

天文台pc/tianwentai-ui/node_modules/motion-dom/dist/es/effects/prop/index.mjs 312 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
  import { createEffect } from '../utils/create-effect.mjs';
  
  const propEffect = /*@__PURE__*/ createEffect((subject, state, key, value) => {
      return state.set(key, value, () => {
          subject[key] = state.latest[key];
      }, undefined, false);
  });
  
  export { propEffect };
  //# sourceMappingURL=index.mjs.map