Spatial Navigation for GeckoView - v3.2.0
    Preparing search index...

    Function updatePreviewVisuals

    • Update preview visuals based on current focus and available targets.

      Parameters

      • currentElement: HTMLElement | null

        Currently focused element

      • currentRect: DOMRect | null

        Current element rect

      • findDirectionalCandidate: FindCandidateFn

        Function to find candidates

      • directionByName: DirectionMap

        Direction objects by name

      • describeElement: DescribeElementFn

        Function to describe element for data attr

      • state: SpatialNavState

        Global state object

      Returns void