first commit
This commit is contained in:
9
node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs
generated
vendored
Normal file
9
node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
const isDragging = {
|
||||
x: false,
|
||||
y: false,
|
||||
};
|
||||
function isDragActive() {
|
||||
return isDragging.x || isDragging.y;
|
||||
}
|
||||
|
||||
export { isDragActive, isDragging };
|
||||
Reference in New Issue
Block a user