Hosanna UI API v2.3.0-next
    Preparing search index...

    Complete trace of a focus resolution operation.

    interface IFocusResolutionTrace {
        bubbleChain: IBubbleChainEntry[];
        candidates?: IFocusCandidate[];
        endTime?: number;
        focusAfter: null | IFocusViewInfo;
        focusBefore: null | IFocusViewInfo;
        focusMoved: boolean;
        method: FocusResolutionMethod;
        nextFocusMapHit?: INextFocusMapHit;
        resolvedBy: null | IFocusViewInfo & { layoutType: FocusLayoutType };
        startTime: number;
        trigger: string;
    }
    Index

    Properties

    bubbleChain: IBubbleChainEntry[]

    Chain of views consulted during bubble-up

    candidates?: IFocusCandidate[]

    Candidate views that were considered (when show_candidates=true)

    endTime?: number

    Timestamp when resolution ended

    focusAfter: null | IFocusViewInfo

    View that has focus after this navigation

    focusBefore: null | IFocusViewInfo

    View that had focus before this navigation

    focusMoved: boolean

    Whether focus actually changed

    How the focus target was resolved

    nextFocusMapHit?: INextFocusMapHit

    Details if resolved via nextFocusMap

    resolvedBy: null | IFocusViewInfo & { layoutType: FocusLayoutType }

    The view that resolved the focus target

    startTime: number

    Timestamp when resolution started

    trigger: string

    The key/direction that triggered this focus resolution