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

    Interface IViewDebugInfo

    Interface containing debug information for a view.

    interface IViewDebugInfo {
        children?: (ISGNNode | IHosannaView<ViewState>)[];
        id: string;
        isFocused?: boolean;
        layoutInfo?: { height: number; width: number; x: number; y: number };
        parent: undefined | ISGNNode | IHosannaView<ViewState>;
        pendingState: Record<string, unknown>;
        phase: ViewPhase;
        renderer: undefined | ISGNNode;
        state: Record<string, unknown>;
        subViews?: (ISGNNode | IHosannaView<ViewState>)[];
        type: string;
        viewOwner?: ISGNNode | IHosannaView<ViewState>;
    }
    Index

    Properties

    children?: (ISGNNode | IHosannaView<ViewState>)[]

    The child views or nodes of this view.

    id: string

    The unique identifier for the view.

    isFocused?: boolean

    Whether the view is currently focused.

    layoutInfo?: { height: number; width: number; x: number; y: number }

    Layout information for the view, if available.

    parent: undefined | ISGNNode | IHosannaView<ViewState>

    The parent view or node, if any.

    pendingState: Record<string, unknown>

    The pending state changes for the view.

    phase: ViewPhase

    The current lifecycle phase of the view.

    renderer: undefined | ISGNNode

    The renderer node associated with the view.

    state: Record<string, unknown>

    The current state of the view.

    subViews?: (ISGNNode | IHosannaView<ViewState>)[]

    The subviews of this view, if any.

    type: string

    The type or class name of the view.

    viewOwner?: ISGNNode | IHosannaView<ViewState>

    The owner of this view, if any.