1.0.8 • Published 4 years ago

vue-drag-zqh v1.0.8

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

实现div拖拽功能,限制移动范围为浏览器的可视宽高

Install

npm install vue-drag-zqh --save

Usage

import Vue from 'vue';
import VueDragZqh from 'vue-drag-zqh';
Vue.use(VueDragZqh);
<template>
    <div class="wrapper" style="width: 500px;height: 600px;background: blue">
        <div
            v-drag-me
        >
        </div>
    </div>
</template>
<script>
    export default {

    };
</script>

<style scoped lang="less">
</style>
1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago