1.1.0 • Published 5 years ago
zoom-hover v1.1.0
Project Name
zoom-hover Zoom image web component
Installation
From npm
run
npm i -s zoom-hover
import 'zoom-hover'
Or use cdn
https://cdn.jsdelivr.net/gh/elPoeta/zoom-hover-image@v1.1/components/zoom-hover.js
<head>
<script src="https://cdn.jsdelivr.net/gh/elPoeta/zoom-hover-image@v1.1/components/zoom-hover.js"></script>
</head>
Usage
default height: 400px
<zoom-hover image="your url image" height="600"> </zoom-hover>
Demo
https://elpoeta.github.io/zoom-hover-image