add nonce property to style for CSP
""
Whether to show horizontal scroll bar
true
Whether to show vertical scroll bar
true
Private
horizontalMargin to determine the scroll area.
500
The max value of the wheel for pinch. If the wheel weight is too large, it can be adjusted.
Infinity
pinch direction If only one direction is set, only the zoom value in that direction is changed.
0.20.0
"all"
Threshold at which pinch can be operated when the usePinch option is used.
50
Whether to prevent dragging through the wheel button
true
Horizontal scroll range offset not affected by zoom [Left, Right]
[0, 0]
Vertical scroll range offset not affected by zoom [Top, Bottom]
[0, 0]
Horizontal scroll range [Left, Right]
[-Infinity, Infinity]
Vertical scroll range [Top, Bottom]
[-Infinity, Infinity]
Private
scrollThe size of the area to be infinite scrolled.
100
Set translateZ transform.
0
Whether zoom automatically updates when pinch occurs through wheel, gesture, or touch
false
Whether or not to use a scroll bar in the form of a bounce An early version of InfiniteViewer's scroll bar.
false
Whether to use gestures using trackpad or magic mouse.
true
Whether to use mouse drag
Whether to scroll when the content is larger than the screen even if the range is limited
false
Whether to pinch the scroll motion when the touch event is activated.
false
Whether to use the resize observer
false
Whether to use the transform property. If you don't use it, you can't use zoom.
true
Whether to use wheel pinch. you can pinch using the ctrl key.
true
Whether to use wheel scroll. You can scroll smoothly by using the wheel.
IS_SAFARI
Private
verticalOptional
wheelThe container element to which the wheel event applies
Optional
current?: null | HTMLElementOptional
value?: null | HTMLElementcontainerElement
Key to use wheel pinch
"ctrl"
Wheel of the delta scale.
0.01
Private
wrapperviewer's zoom If you use the zoomX and zoomY properties, don't use the zoom property.
1
Offset left position for zoom operation
"50%"
Offset top position for zoom operation.
"50%"
Set the zoom range.
[0.001, Infinity]
Optional
zoomUse either zoomRange or zoomRangeX.
Optional
zoomUse either zoomRange or zoomRangeY.
viewer's zoomX If you use the zoom property, don't use the zoomX and zoomY properties.
0.20.0
viewer's zoomY If you use the zoom property, don't use the zoomX and zoomY properties.
0.20.0
extended options for InfiniteViewer with additional custom options