Optionalclampclamp wheel(to avoid weird bounce with mouse wheel). Can be 'x' or 'y' or true.
Optionaldirectiondirection to drag
OptionaldisableIgnore single-finger touch drags so the page can still scroll normally. Two-finger drags still move the viewport when the pinch plugin is not active.
Optionalfactorfactor to multiply drag to increase the speed of movement
OptionalignoreIgnore keyToPress for touch events.
OptionalkeyArray containing KeyboardEvent.code values of keys that can be pressed for the drag to be triggered, e.g.: ['ShiftLeft', 'ShiftRight'}.
OptionallineScaling factor for non-DOM_DELTA_PIXEL scrolling events.
OptionalmouseChanges which mouse buttons trigger drag.
Use: 'all', 'left', right' 'middle', or some combination, like, 'middle-right'; you may want to set
viewport.options.disableOnContextMenu if you want to use right-click dragging.
Optionalpresswhether click to drag is active
Optionalreversereverse the direction of the wheel scroll
Optionalunderflowwhere to place world if too small for screen
OptionalwheelUse wheel to scroll in direction (unless wheel plugin is active)
Optionalwheelnumber of pixels to scroll with each wheel spin
OptionalwheelSwap x and y axes when scrolling.
Options for Drag.