@emiolo/vue-zoom-on-hover
v1.0.2
Published
Simple image wrapper with performant zooming capabilities
Downloads
5
Readme
eMiolo - Vue Zoom on Hover
Install
npm install --save @emiolo/zoom-on-hover
Usage
import ZoomOnHover from '@emiolo/vue-zoom-on-hover/src/ZoomOnHover' // The path is needed because we don't have a build system yet
export default {
components: { ZoomOnHover},
}
<ZoomOnHover src="https://picsum.photos/1920/1080" scale-factor="3"></ZoomOnHover>
To Do
- [ ] Add build system
- [x] Publish to NPM
- [ ] Write better documentation