Home

Awesome

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:

<vue-zoom :scale="2">...</vue-zoom>

<vue-zoom scale="600px">...</vue-zoom>

more examples

storybook