MAIDR Documentation - v3.65.0
    Preparing search index...
    • Scopes a user-provided selector to a container, prefixing the result with the container's id so it resolves uniquely under page-global lookups (document.querySelectorAll). When the container lacks an id, one is auto-assigned via ensureContainerId so every binder emits an absolutely-scoped selector without per-binder boilerplate.

      Parameters

      • container: Element

        The root SVG container.

      • selector: string

        The user-provided CSS selector.

      Returns string

      The id-scoped selector string, e.g. #<svgId> <selector>.