98xy-zoom
Vue3.2+-ZoomGlass
使用 lodash-es,支持 Vue.js 3.2+。
安装 & 使用
npm
$ npm install xy-zoom
局部引入
<script setup>
import Zoom from '98xy-zoom'
</script>
<template>
<Zoom
class="zoom"
imgSrc="图片地址"
/>
</template>
<style scoped>
.zoom {
width: 100px;
height: 100px;
}
</style>
Related Packages
vue-image-zoomify
An image zooming feature for Vue, enabling zoom in and out functionalities.
3,332
0
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.7 | ^3.2.39 | MIT | |
| 1.0.6 | ^3.2.39 | MIT | |
| 1.0.5 | ^3.2.39 | MIT | |
| 1.0.4 | ^3.2.39 | MIT | |
| 1.0.0 | ^3.2.39 | MIT |