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

    Interface IRendererScrollEngineEvent

    Event used when a scroll action has ended in a scrolling renderer such as the SingleDocumentScrollRenderer.

    interface IRendererScrollEngineEvent {
        cancelable: boolean;
        defaultPrevented: boolean;
        immediatePropagationStopped: boolean;
        isTrusted: boolean;
        propagationStopped: boolean;
        readerView: IReaderView;
        scrollDistance: number;
        scrollTop: number;
        type: keyof IEngineEventTypeMap;
        userGenerated: boolean;
        preventDefault(): void;
        stopImmediatePropagation(): void;
        stopPropagation(): void;
        toJSON(): IRendererScrollEngineEventData;
    }

    Hierarchy (View Summary)

    Properties

    cancelable: boolean

    If this event's default action is cancelable. See respective engine event for its definition of default action.

    defaultPrevented: boolean

    If this event's default action has been canceled/prevented by a call to preventDefault()

    immediatePropagationStopped: boolean

    True if stopImmediatePropagation() was called on this event.

    isTrusted: boolean

    If this event runs in a "trusted" context, i.e. the event callback is executed during a user-generated event such as "click" or "pointerdown".

    propagationStopped: boolean

    True if stopPropagation() was called on this event.

    readerView: IReaderView

    The ReaderView instance this event is related to.

    scrollDistance: number

    Describes how far the renderer has scrolled since the scroll action started.

    scrollTop: number

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

    The type of event.

    userGenerated: boolean

    If the event was triggered by a user scrolling the renderer element.

    Methods

    • Prevent the event's default action. See the respective engine event for its definition of default action.

      Returns void

    • Stops this event from propagating to listeners on the ReadingSystemEngine instance, if called from a listener added to a ReaderView instance. If the event has already propagated to the ReadingSystemEngine instance, calling this method has no effect.

      Returns void