MCPcopy Create free account
hub / github.com/DavidHDev/react-bits / onDragEnd

Function onDragEnd

src/tailwind/Animations/StickerPeel/StickerPeel.jsx:60–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 gsap.to(target, { rotation: rot, duration: 0.15, ease: 'power1.out' });
59 },
60 onDragEnd() {
61 const rotationEase = 'power2.out';
62 const duration = 0.8;
63 gsap.to(target, { rotation: 0, duration, ease: rotationEase });
64 }
65 })[0];
66
67 const handleResize = () => {

Callers 1

Canvas.jsxFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected