UI Headless Runtime API - v1.0.0
    Preparing search index...

    Interface VirtualAnchor

    Consumer-provided virtual anchor, typically created from pointer coordinates.

    interface VirtualAnchor {
        contextElement?: Element;
        getBoundingClientRect(): AnchorRect;
    }
    Index

    Properties

    contextElement?: Element

    Optional real element used to resolve document, direction, and scroll ancestors.

    Methods