1.1.2 • Published 2 years ago

v-simple-magnifier v1.1.2

Weekly downloads
6
License
MIT
Repository
github
Last release
2 years ago

v-simple-magnifier

a vue directive to use on img elements to zoom on hover

most of the credit goes to anthinkingcoder, I made my directive based on that

directive in action

Edit v-simple-magnifier

usage

npm install v-simple-magnifier
# or 
yarn add v-simple-magnifier

then add it to your vue application:

// add it to your vue application:
import VSimpleMagnifier from 'v-simple-magnifier';
import Vue from 'vue';

Vue.use(VSimpleMagnifier);

then use it:

<template>
  <img src="some-image-src" v-simple-magnifier>
</template>
1.1.2

2 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago