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

    Function toAnchorElement

    • Hands a virtual anchor to the machine as its anchor element rather than as a bare rect: the element is what the machine's scroll and resize observers attach to, so the content follows the anchor when an ancestor scrolls.

      Parameters

      • element: null | Element

      Returns null | AnchorElement