hosanna-ui-docs - v0.9.0
    Preparing search index...

    Interface for a collection view row. Extends IReusable and IIdentifiable.

    interface IBaseCollectionViewRow {
        _cacheKey?: string;
        _hid?: string;
        canReceiveFocus?: boolean;
        container: ISGNGroup;
        content: ICollectionViewDataSourceRow;
        contentId?: string;
        focusedIndex: number;
        focusTarget?: IHosannaView<ViewState>;
        height: number;
        id: string;
        index: number;
        isEnabled?: boolean;
        isFloatingFocus: boolean;
        isHidden?: boolean;
        isOnScreen: boolean;
        rowState: RowState;
        targetIndex: number;
        viewportWidth: number;
        getCellForIndex(itemIndex: number): undefined | ICollectionViewCell;
        getFocusInfo(itemIndex: number): undefined | IFocusInfo;
        onWillRelease(): void;
        onWillReuse(): void;
        updateCellsViewStatus(prevIndex: number, newIndex: number): void;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    _cacheKey?: string
    _hid?: string
    canReceiveFocus?: boolean

    Whether the row can receive focus (for custom views).

    container: ISGNGroup

    The container group node for the row.

    The content data for the row.

    contentId?: string
    focusedIndex: number

    The currently focused item index in the row.

    focusTarget?: IHosannaView<ViewState>

    The view to receive focus, if any.

    height: number

    The height of the row.

    id: string
    index: number

    The index of the row in the collection view.

    isEnabled?: boolean

    Whether the row is enabled.

    isFloatingFocus: boolean

    Whether the row uses floating focus animation.

    isHidden?: boolean

    Whether the row is hidden.

    isOnScreen: boolean

    Whether the row is currently on screen.

    rowState: RowState

    The current state of the row.

    targetIndex: number
    viewportWidth: number

    The width of the viewport for this row.

    Methods