Skip to content

cagosto/resize-image-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'

About

Responsive image maps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published