https://github.com/biyuqi/vue-simple-drag
:construction: 一个拖拽小插件,兼容vue2.x
https://github.com/biyuqi/vue-simple-drag
Last synced: 12 months ago
JSON representation
:construction: 一个拖拽小插件,兼容vue2.x
- Host: GitHub
- URL: https://github.com/biyuqi/vue-simple-drag
- Owner: BiYuqi
- Created: 2018-07-26T09:14:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-12T06:57:23.000Z (almost 7 years ago)
- Last Synced: 2025-03-16T08:22:38.477Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 79.1 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### 插件待发布
```js
部分细节需要完善
```
### 预计使用方式(本地已经测试通过)
```js
npm i vue-simple-drag
// 入口文件引入
import VueDrag from 'vue-simple-drag'
Vue.use(VueDrag)
```
```html
我是无忧无虑的拖拽狂
分别是 top right bottom left
我是被限制的拖拽狂
```
### 细节
所拖拽元素必须是fixed或者absolute定位,需要手动自己维护
### TODO
- 完善部分功能
- 移除不需要的npm包
- 编写使用文档
- 测试demo