Skip to content

Commit

Permalink
fix: readme typo
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciuscasarin committed Aug 30, 2021
1 parent dd5bbcb commit 6274f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ zoomSrc | String | | URL for the larger zoom image. Falls back to original image
zoomScale | Number | 1 | Multiplied against the natural width and height of the zoomed image. This will generally be a decimal (example, 0.9 for 90%).
zoomPreload | Boolean | false | If set to true, preloads the zoom image instead of waiting for mouseenter and (unless on a touch device) persists the image on mouseleave.
alt | String | | Alternative text for the original image.
title | String | | Title attribute for the original image..
title | String | | Title attribute for the original image.
moveType | String | pan | `pan` or `drag`. The user behavior for moving zoomed images on non-touch devices.
zoomType | String | click | `click` or `hover`. The user behavior for triggering zoom. When using `hover`, combine with `zoomPreload` to avoid flickering on rapid mouse movements.
fadeDuration | Number | 150 | Fade transition time in milliseconds. If zooming in on transparent images, set this to `0` for best results.
Expand Down

0 comments on commit 6274f20

Please sign in to comment.