Oct 20, 2020
9
Level 16
What are some good draggable javscript libraries?
I want to create a draggable and resizable grid interface for vue components. Any suggestions for a Javascript library? (vanillaJS, vueJS or jQuery0.)
Example site
https://www.cryptotiles.io/?utm_source=github&utm_medium=web&utm_campaign=vue-grid-layout
Functionalities I am trying to build
- Allow user to add a vue component to the workspace.
- Allow him to drag and resize those components according to the grid
- Save the state of the vue component and positioning of each components
- Use the saved data to re render ui when user requests for it.
Level 102
Great. So something like this https://github.com/mauricius/vue-draggable-resizable
Playground: https://mauricius.github.io/vue-draggable-resizable/?path=/story/basic--basic-component
And you can check when dragging starts/stops for ajax saving fun :) https://mauricius.github.io/vue-draggable-resizable/?path=/story/events--dragging
Please or to participate in this conversation.