drag-on-vue

0.1.0 • Public • Published

draggble-vue

Project setup

npm install
npm run serve

a draggable demo based on Vue.js.

directly import the draggable.vue then component it.

###props list: the array you want to display slot:draggableItem

eg.

<draggable :list="dataStore" :insert-type="type">
    <span slot="draggableItem" slot-scope="item" >
        {{ item.label.text }}
    </span>
</draggable>

Readme

Keywords

none

Package Sidebar

Install

npm i drag-on-vue

Weekly Downloads

3

Version

0.1.0

License

none

Unpacked Size

4.51 kB

Total Files

3

Last publish

Collaborators

  • fengxh