Magnifier an image
npm install --save magnifier
import Magnifier from 'magnifier';
new Magnifier('.image');
Create a new Magnifier
instance.
Type: element
, string
Image for magnification.
Type: number
, string
Lens height.
Type: number
, string
Lens width.
Type: string
Lens background color.
Type: string
Lens border color.
Type: number
, string
Lens radius.
Type: number
, string
Lens border width.
Type: string
Lens class name.
Forced show lens.
Forced hide lens.
Unbinds the event handlers and removes the lense.
MIT