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

    Common options for paginated renderers.

    interface IPaginatedRendererOptions {
        animationDurationMs?: number;
        disableAnimations?: boolean;
        goToAnimationDurationMs?: number;
        ignoreAspectRatio?: boolean;
        insets?: IRectMargins;
        name?: string;
        pageBackgroundColor?: string;
        swipeNavigationGestureThreshold?: ILength;
    }

    Hierarchy (View Summary)

    Properties

    animationDurationMs?: number

    How long the animations to next/previous will be. Default is null which will use specific values dependent on the presentation mode and platform types: 'mobile', 'tablet' or 'desktop'.

    null
    
    disableAnimations?: boolean

    If animations should be used or not by the renderer.

    false
    
    goToAnimationDurationMs?: number

    The goTo animation duration when fading in. The default value null will use platform specific duration.

    null
    
    ignoreAspectRatio?: boolean

    Ignore the calculated aspectRatio to take up as much of the available view space as possible.

    false
    

    Please use the ReaderView option contentDisplayAreaOptions instead.

    insets?: IRectMargins

    Configures insets that can be used to allow the user to scroll content below system UI elements like the notch on mobile devices.

    For vertical insets (top and bottom), this adds extra space at the top or bottom of the scrolling container.

    For horizontal insets (left and right), this acts as padding that pushes the content in from the sides.

    Percentage values are based on the ReaderView's dimensions. Any value higher than 40% of the ReaderView's width or height will be clamped to 40%.

    Note: This option currently only has an effect when using scrolling renderers (e.g., ContinuousScrollRenderer or SingleDocumentScrollRenderer).

    Defaults to 0 for all sides.

    This API is experimental and might be subject to changes in future releases.

    name?: string

    The name of the Renderer. This can be used to retrieve the Renderer from the ReaderView etc.

    Defaults to generated name.

    pageBackgroundColor?: string

    A CSS color to use as default page background.

    swipeNavigationGestureThreshold?: ILength

    Controls the minimum swipe distance required to trigger navigation to the next or previous page. A higher value means the user must swipe farther to turn pages.

    Percentage values are based on the width of the ReaderView.

    Defaults to 20 CSS pixels.