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

    CustomViewRow is a specialized implementation of BaseCollectionViewRow that supports custom views. It manages the lifecycle of a custom view, including mounting, configuration, and focus handling.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _hid: string = ''

    Internal unique identifier for the row.

    baseAnimationDuration: number = 200

    The base animation duration for scrolling.

    canReceiveFocus: boolean = true

    Indicates whether this row can receive focus.

    container: ISGNGroup

    The container group node for the row.

    The content data for the row.

    customView: IHosannaView<ViewState>

    The custom view instance associated with this 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.

    instancePool: IInstancePool

    Injected instance pool for managing reusable views.

    isAnimating: boolean = false

    Whether the row is currently animating.

    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.

    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.

    viewportWidth: number = 1920

    The width of the viewport for this row.

    Methods

    • Mounts the custom view associated with this row. Retrieves the custom view from the instance pool based on the customViewType specified in the row settings. Configures the custom view and attaches it to the parent renderer.

      Returns void