Zoomist is a library built with TypeScript that allows you to create zoom elements on website quickly and easily.
112
stars
23
forks
source link
New Feature: add `dragReleaseOnBounds` `wheelReleaseOnMinMax` `disableWheelingClass` and `disableDraggingClass` #47
Closed
cotton123236 closed 5 months ago
e.preventDefault()
instead of csspointer-events: none
when dragging and touching.disableDraggingClass
: if element has this class won't be draggingdisableWheelingClass
: if element has this class won't be zoomed when mouse wheelingdragReleaseOnBounds
: enable to release touch events on mobile device to allow for further page scrolling if set to true.wheelReleaseOnMinMax
: enable to release wheel events to allow for further page scrolling if set to true.