1.3.0 • Published 2 years ago

vue-el-dialog-draggable v1.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Vue Drag Popover

base vue and element-ui support el-dialog to drag

Install

npm install vue-el-dialog-draggable

Usage

main.js

import Vue from "vue";
import VueDragDiaglog from "vue-el-dialog-draggable";

Vue.use(VueDragDiaglog);

component

<el-dialog
  title="提示"
  :visible.sync="dialogVisible"
  width="30%"
  v-draggable
  :before-close="handleClose"
>
  <span>这是一段信息</span>
  <span slot="footer" class="dialog-footer">
    <el-button @click="dialogVisible = false">取 消</el-button>
    <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
  </span>
</el-dialog>
1.3.0

2 years ago

1.2.0

2 years ago

1.0.0

2 years ago