Interface IMixinAdapter

adapter context for mixins to avoid public fields

interface IMixinAdapter {
    context: IExceptionContext;
    scrollOffset: number;
    scrollTotal: number;
    visible: {
        first: number;
        forcedFirst: number;
        forcedLast: number;
        last: number;
    };
    visibleFirstRowPos: number;
    addAtBeginning(from: number, to: number, frozenShift: number): void;
    addAtBottom(from: number, to: number): void;
    isScrollEventWaiting(): boolean;
    removeFromBeginning(from: number, to: number, frozenShift: number): void;
    removeFromBottom(from: number, to: number): void;
    syncFrozen(first: number): number;
    updateOffset(firstRowPos: number): void;
}

Properties

scrollOffset: number
scrollTotal: number
visible: {
    first: number;
    forcedFirst: number;
    forcedLast: number;
    last: number;
}
visibleFirstRowPos: number

Methods

  • Parameters

    • from: number
    • to: number
    • frozenShift: number

    Returns void

  • Parameters

    • from: number
    • to: number

    Returns void

  • Parameters

    • from: number
    • to: number
    • frozenShift: number

    Returns void

  • Parameters

    • from: number
    • to: number

    Returns void

  • triggers to sync frozen items

    Parameters

    • first: number

    Returns number

    frozenShift

  • Parameters

    • firstRowPos: number

    Returns void