An open API service indexing awesome lists of open source software.

https://github.com/linmasahiro/vue-simple-draggable

A Draggable(Drag and Drop) base on HTML5 and Vue.js (supported touch mobile device)
https://github.com/linmasahiro/vue-simple-draggable

drag-and-drop draggable-elements vue

Last synced: 24 days ago
JSON representation

A Draggable(Drag and Drop) base on HTML5 and Vue.js (supported touch mobile device)

Awesome Lists containing this project

README

          

vue-simple-draggable
===============

![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)

A Draggable(Drag and Drop) base on HTML5 and Vue.js

Vue.js have a strong component is [Vue.Draggable](https://github.com/SortableJS/Vue.Draggable), but sometimes we need a very simple solution to solve problem

[DEMO](https://linmasahiro.github.io/vue-simple-draggable/index.html)

### 1.Define Data

+ listAreaClass: Draggable body's class name
+ defaultListClass: List element's class name
+ currentListClass: Current list element's class name
+ defaultBlockClass: Normal block element's class name
+ currentBlockClass: Current block element's class name
+ listData: Your Data(Array) like sample
#### Data sample
[
[
{
"title": "Yes!"
}
]
]

### 2.Enjoy it!

##### 2020/04/17 supported touch mobile device