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, to, frozenShift): void;
    addAtBottom(from, to): void;
    isScrollEventWaiting(): boolean;
    removeFromBeginning(from, to, frozenShift): void;
    removeFromBottom(from, to): void;
    syncFrozen?(first): number;
    updateOffset(firstRowPos): void;
}

Properties

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

Type declaration

  • 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
    • frozenShift: number

    Returns void

  • triggers to sync frozen items

    Parameters

    • first: number

    Returns number

    frozenShift