share-to-zqh
1.0.6 • Public • Published 实现div拖拽功能,限制移动范围为浏览器的可视宽高
npm install share-to --save-dev
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
}
},
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.6
0
Version History
Package Sidebar
Install
Weekly Downloads