resize-image-map
v1.0.1
Published
responsive image map
Downloads
45
Maintainers
Readme
Responsive image maps
Whats This?
This ES6 class will let you have an responsive image map as seen in this demo.
Config
Pass the natural image with and height and the element ID as shown below:
new ImageResize({
width: 1024,
height: 768,
element : '#power-puff__map'
})
Installation
npm i resize-image-map
import it in your app
import ImageResize from 'image-resize'