class RVG · Viewports
ViewportInteractivityOptions
The interactivity of a new viewport; each option left out stays off (zoomFactor: 1.1).
Properties
panningoptional
panning?: booleanWhether dragging the viewport with the primary button moves the content (default: false).
zoomFactoroptional
zoomFactor?: numberThe zoom per wheel step: wheel up multiplies the zoom by it, wheel down divides by it (default: 1.1).
zoomingoptional
zooming?: booleanWhether the mouse wheel over the viewport zooms the content around the pointer (default: false).
