vue-magnifier-img
v0.0.3
Published
vue-magnifier-img
Downloads
4
Readme
vue-magnifier-img
简介
简单点击图片放大插件
安装
npm install vue-magnifier-img
使用
main.js
const Vue from 'Vue'
const magnifier from 'vue-magnifier-img';
Vue.use(magnifier)
.vue文件中
<img class="img-plugin" />
mounted(){
this.$magnifier('.img-plugin');
}