Allow panning with single pointer.
The maximum horizontal pan offset relative to the dimensions of the ReaderView, defined as a CSS string in pixels or percentage.
Example: Setting it to "0%" will not allow the left side of the publication to be panned further right than the left side of the ReaderView. (and the opposite for the right side)
Example: Setting it to "50%" will allow the left side of the publication to be panned to the midpoint of the ReaderView. (and the same for the right side)
Example: Setting it to "100%" will allow the publication to be panned all the way outside the ReaderView.
NOTE: This options has no effect if IReaderViewOptions.transformManagerOptions.maxPanOffsetVertical
has been set.
The maximum vertical pan offset relative to the dimensions of the ReaderView, defined as a CSS string in pixels or percentage.
Example: Setting it to "0%" will not allow the top of the publication to be panned further down than the top of the ReaderView. (and the opposite for the bottom)
Example: Setting it to "50%" will allow the top of the publication to be panned to the midpoint of the ReaderView. (and the same for the bottom)
Example: Setting it to "100%" will allow the publication to be panned all the way outside the ReaderView.
NOTE: This options has no effect if IReaderViewOptions.transformManagerOptions.maxPanOffsetVertical
has been set.
The maximum allowed scale factor.
NOTE: This options has no effect if IReaderViewOptions.transformManagerOptions.maxScaleFactor
has been set.
How much the distance between pointers has to change before applying zoom/scale.
Sets which pointer-types that should trigger pan-zoom gestures.
Allow pan-zoom gestures to exit the transform when zoomed out to a scale factor close to 1.
Generated using TypeDoc
Options used for configuring the panZoom gesture on a ReaderView. Part of IReaderViewOptions.gestureOptions