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

    Interface IReaderViewScrollStateData

    Information about a renderer's current scroll position.

    interface IReaderViewScrollStateData {
        rendererClientHeight: number;
        scrollHeight: number;
        scrolling: boolean;
        scrollTop: number;
    }

    Properties

    rendererClientHeight: number

    The clientHeight of the renderer. Corresponds to the visible part of the renderer.

    scrollHeight: number

    A measurement of the height of a renderer's content, including content not visible on the screen due to overflow. This value might change at any time as new content is rendered.

    Listen to the engine event rendererScrollHeightChanged to detect when the value has changed.

    scrolling: boolean

    If active renderer is currently scrolling.

    scrollTop: number

    The number of pixels that a renderer's content is scrolled vertically.