init 3
This commit is contained in:
10
node_modules/motion-dom/dist/es/animation/utils/active-animations.mjs
generated
vendored
Normal file
10
node_modules/motion-dom/dist/es/animation/utils/active-animations.mjs
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
const animationMaps = new WeakMap();
|
||||
const animationMapKey = (name, pseudoElement = "") => `${name}:${pseudoElement}`;
|
||||
function getAnimationMap(element) {
|
||||
const map = animationMaps.get(element) || new Map();
|
||||
animationMaps.set(element, map);
|
||||
return map;
|
||||
}
|
||||
|
||||
export { animationMapKey, getAnimationMap };
|
||||
//# sourceMappingURL=active-animations.mjs.map
|
||||
Reference in New Issue
Block a user