# SureDrag **Repository Path**: Sure0212/sure-drag ## Basic Information - **Project Name**: SureDrag - **Description**: vue封装的自定义指令 实现元素的拖拽效果 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-30 - **Last Updated**: 2024-03-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SureDrag #### 介绍 vue封装的自定义指令 实现元素的拖拽效果 #### 安装教程 1. 下载sureDrag.js 2. 导入到你的项目中 3. 在main.js文件中引入 import suredrag from '目录' 4. app.use(suredrag) #### 使用说明 注意:本指令会将元素添加position = 'fixed' 使用前请确认元素层级关系以确保正常使用 1. 在标签中加入v-drag eg: