- Change Zoomist first parameter type to
HTMLElement | string
to enhance the hints of IDE.
- Use
e.preventDefault()
instead of csspointer-events: none;
when dragging and touching. - Add options
disableDraggingClass
anddisableWheelingClass
. - Add options
dragReleaseOnBounds
andwheelReleaseOnMinMax
to enable page scrolling in some cases. - Add methods
isOnBoundTop
,isOnBounBottom
,isOnBoundLeft
,isOnBoundRight
,isOnBoundX
,isOnBoundY
,isOnMinScale
,isOnMaxScale
.
- Add attribute
type="button"
to default zoomer-buttons to prevent form submition.