Colibrio Reader Framework API - Cloud license
    Preparing search index...

    Interface IReaderViewPanZoomGestureOptions

    Options used for configuring the panZoom gesture on a ReaderView. Part of IReaderViewOptions.gestureOptions

    interface IReaderViewPanZoomGestureOptions {
        allowSinglePointerPan?: boolean;
        pinchZoomThresholdPx?: number;
        pointerTypes?: IPointerTypeOptions;
        removeTransformOnZoomOutGesture?: boolean;
    }

    Properties

    allowSinglePointerPan?: boolean

    Allow panning with single pointer.

    true
    
    pinchZoomThresholdPx?: number

    How much the distance between pointers has to change before applying zoom/scale.

    32
    
    pointerTypes?: IPointerTypeOptions

    Sets which pointer-types that should trigger pan-zoom gestures.

    IPointerTypeOptions
    
    removeTransformOnZoomOutGesture?: boolean

    Allow pan-zoom gestures to exit the transform when zoomed out to a scale factor close to 1.

    true