You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to express my appreciation for the excellent work on this library. It has been extremely useful and well-structured for my projects.
To further enhance the utility of the documentation, I believe it would be beneficial to include more detailed code examples for complex use cases. Specifically, one area where I encountered a gap was in toggling the movability of draggable elements. Having an example for this scenario would significantly aid developers in using this feature effectively.
Proposed Addition:
Below is an example that demonstrates how to enable and disable the drag functionality of an element using the Draggable class. This particular example was something I felt was missing from the current documentation:
Thanks a lot for this! Yeah, the docs could be better, I made plans for detailed guides but never got the time to do so. PRs appreciated for a new guides/:slug category if you'd be up for it.
Also, aside, why using @neodrag/vanilla in a react app 😅? @neodrag/react should work better
Thank you for the offer! Unfortunately, as a student, I’m a bit short on time.
I should mention that I’m still a bit of a React frontend beginner 😅 and currently limited to an older React version, which is why I stick to using vanilla.
I would like to express my appreciation for the excellent work on this library. It has been extremely useful and well-structured for my projects.
To further enhance the utility of the documentation, I believe it would be beneficial to include more detailed code examples for complex use cases. Specifically, one area where I encountered a gap was in toggling the movability of draggable elements. Having an example for this scenario would significantly aid developers in using this feature effectively.
Proposed Addition:
Below is an example that demonstrates how to enable and disable the drag functionality of an element using the Draggable class. This particular example was something I felt was missing from the current documentation:
Thank you for considering this request! I believe including more examples like this will further enhance the value of this great library.
The text was updated successfully, but these errors were encountered: