@utlime/vue-zoom
vue-zoom
vue zoom component
installing
npm i @utlime/vue-zoom
simple example
<template>
<vue-zoom>
<img ... />
</vue-zoom>
</template>
<script>
import { VueZoom } from '@utlime/vue-zoom';
export default {
components: { VueZoom },
};
</script>
prop scale
scale property can has the follow values:
- number, relative zoom value to component with, e.g. 1.5(default value)
<vue-zoom :scale="2">...</vue-zoom>
- string, fixed zoom value, e.g. 600px
<vue-zoom scale="600px">...</vue-zoom>
more examples
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 |
|---|---|---|---|
| 2.0.1 | ^3.0.0 | MIT | |
| 2.0.0 | ^3.0.0 | MIT | |
| 1.1.5 | MIT | ||
| 1.1.4 | ^2.6.10 | MIT | |
| 1.1.3 | ^2.6.10 | MIT | |
| 1.1.2 | ^2.6.10 | MIT | |
| 1.1.1 | ^2.6.10 | MIT | |
| 1.1.0 | ^2.6.10 | MIT | |
| 1.0.1 | ^2.6.10 | MIT | |
| 1.0.0 | ^2.6.10 | MIT | |
| 0.1.1 | ^2.6.10 | MIT | |
| 0.1.0 | ^2.6.10 | MIT |