Closed semivori closed 5 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
zoomist | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jan 15, 2024 2:39pm |
Hey @semivori ,
Appreciated for your help and suggestion, I implemented it in other way!
Starting from v2.1.0
, you can prevent any element from being dragged by adding class .zoomist-not-draggable
. And you can use option disableDraggingClass
to change this className.
Thanks again!
It is better to see once than to hear a hundred times - https://i.imgur.com/RiWtcbA.gif https://codesandbox.io/p/github/semivori/zoomist/dev
PS: I`m not strong in TypeScript.