az-move-vue
v0.2.0
Published
A simple toolkit used to add drag functionality to some components for Vue.js 2.0
Downloads
3
Readme
Az-move-vue
Usage
// main.js
import AzMove from 'az-move'
Vue.use(AzMove)
<el-dialog v-move></el-dialog>
<el-dialog v-move="'.el-dialog__header'"></el-dialog>
<el-dialog v-move="{moveArea:'.el-dialog__header',cursor:'move'}"></el-dialog>
Installation
npm install az-move-vue
or
yarn add az-move-vue