react-prismazoom
Advanced tools
Comparing version 3.2.1 to 3.3.0
# Changelog | ||
## [3.3.0] - 2023-03-01 | ||
- Added optional ignoredMouseButtons prop (thanks apomelitos) | ||
## [3.2.1] - 2023-02-24 | ||
@@ -4,0 +7,0 @@ - Fix double-click zoom target |
{ | ||
"name": "react-prismazoom", | ||
"version": "3.2.1", | ||
"version": "3.3.0", | ||
"description": "A pan and zoom component for React, using CSS transformations.", | ||
@@ -5,0 +5,0 @@ "author": "Sylvain Dubus <svn.dbs@gmail.com>", |
@@ -111,2 +111,3 @@ # react-prismazoom | ||
| allowWheel | boolean | true | Enable or disable mouse wheel and touchpad zooming in place | | ||
| ignoredMouseButtons | number[] | [] | Optional array of ignored mouse buttons allows to prevent panning for specific mouse buttons. By default all mouse buttons are enabled. [MDN](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button#value) | | ||
@@ -113,0 +114,0 @@ **Note:** all props are optional. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97307
144