anseki / plain-draggable

The simple and high performance library to allow HTML/SVG element to be dragged.
https://anseki.github.io/plain-draggable/
MIT License
773 stars 99 forks source link

cant succesfully import it into own project #145

Closed ainzy02 closed 6 months ago

ainzy02 commented 6 months ago

Im trying to use this for a project im making and i am unable to even get started.

anseki commented 6 months ago

Hi @ainzy02, thank you for the comment. The document may help you: https://github.com/anseki/plain-draggable#development Try the commands for packages.

ainzy02 commented 6 months ago

I figured out how to import some of the files. Do I need every single file or just package and plain-dragable. Also how do you run the commands, I'm new to this type of stuff.

anseki commented 6 months ago

Sorry, my English is poor. Do you mean that you want to know how to use the library in your HTML page? You can use the library without importing that by loading the library (only single file) into your HTML page via writing a <script> tag. https://anseki.github.io/plain-draggable/#usage

ainzy02 commented 6 months ago

thank you

anseki commented 6 months ago

😄