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

    BaseCollectionViewRow manages a single row in a collection view, including its layout, focus, rendering, and scrolling. Handles mounting, animation between items, focus management, and cell status updates. Implements IReusable and IBaseCollectionViewRow interfaces.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    _hid: string = ''

    Internal unique identifier for the row.

    baseAnimationDuration: number = 200

    The base animation duration for scrolling.

    canReceiveFocus: boolean = false

    Whether the row can receive focus.

    container: ISGNGroup

    The container group node for the row.

    The content data for the row.

    fastScrollDuration: number = 100

    The duration for fast scrolling animations.

    focusedIndex: number = 0

    The currently focused item index in the row.

    The focus manager for this row.

    focusTarget?: IHosannaView<ViewState>

    The view to receive focus, if any.

    height: number = 400

    The height of the row.

    id: string = ''

    The row's unique identifier.

    index: number = 0

    The index of the row in the collection view.

    isAnimating: boolean = false

    Whether the row is currently animating.

    isFastScroll: boolean = false
    isFloatingFocus: boolean = false

    Whether the row uses floating focus animation.

    isFocusable: boolean = true

    Whether the row is focusable.

    isHidden: boolean = false

    Whether the row is visible.

    isOnScreen: boolean = false

    Whether the row is currently on screen.

    lastRenderedY: number = 0

    The last rendered Y position of the row.

    layout: T

    The layout instance managing cell arrangement for this row.

    Reference to the parent collection view.

    renderedListPosition: number = 0

    The rendered list position of the row.

    rowState: RowState = RowState.None

    The current row state (e.g., None, Loading, Loaded, etc.).

    speed: number = 150

    The scroll speed for animations.

    startIndex: number = -1

    The starting index for scrolling/animation.

    targetIndex: number = 0

    The target index for scrolling/animation.

    timeLeftFromPreviousAnimation: number = 0
    viewportWidth: number = 1920

    The width of the viewport for this row.

    Methods