1.1.2 • Published 2 years ago
v-move v1.1.2
vue dragmove drective
use
npm install v-move
demo:
import VMove from 'v-move';
Vue.use(VMove)
<div style="position:relative;width:300px;height:300px;border:1px solid #444">
<i style="position: absolute;width:10px;height:10px;background:red;cursor:point;"
v-move
:data-disabled="false"
@moveEvent="fn"
/>
</div>