2.0.1 • Published 4 months ago

@utlime/vue-zoom v2.0.1

Weekly downloads
31
License
MIT
Repository
github
Last release
4 months ago

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

storybook

2.0.1

4 months ago

2.0.0

4 months ago

1.1.5

2 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago