1.0.6 • Published 4 years ago
share-to-zqh v1.0.6
实现div拖拽功能,限制移动范围为浏览器的可视宽高
Install
npm install share-to --save-dev
Usage
import Vue from 'vue';
import ShareTo from 'share-to';
Vue.use(ShareTo);
<template>
<div id="app">
<share-to></share-to>
</div>
</template>
props: {
link: {
'type': String,
'default': window.location.href
}
},