@dxos/react-ui
    Preparing search index...

    Type Alias UsePositioningResult

    Radix-shaped placement props as one Zag positioning object, plus a virtual anchor the machine positions at, and observes, in place of its trigger. Shared by every floating root so the collision, offset and anchor semantics are one implementation.

    type UsePositioningResult = {
        positioning: Positioning;
        setVirtualAnchor: (ref: RefObject<Element | null>) => () => void;
    }
    Index

    Properties

    positioning: Positioning
    setVirtualAnchor: (ref: RefObject<Element | null>) => () => void

    Registers the element the content is positioned at instead of the trigger; returns the unregister.