makeDropdownWithOptions function infrastructure

Last updated: 2026-03-02T13:35:57.085Z

Signature

makeDropdownWithOptions(titles: string[]): : HTMLElement

Source Code

    function makeDropdownWithOptions(titles: string[]): HTMLElement {
      const dropdown = document.createElement("div");
      dropdown.className = "ant-select-dropdown";
      for (const title of titles) {
        const opt = document.createElement("div");
        opt.className = "ant-select-item-option";
        opt.setAttribute("title", title);
        opt.textContent = title;
        dropdown.appendChild(opt);
      }
      return dropdown;
    }

No outgoing dependencies.

Impact (Incoming)

graph LR makeDropdownWithOptions["makeDropdownWithOptions"] makeSelect["makeSelect"] makeSelect -->|calls| makeDropdownWithOptions style makeDropdownWithOptions fill:#dbeafe,stroke:#2563eb,stroke-width:2px click makeDropdownWithOptions "d7eb86a88be44b39.html" click makeSelect "75e6fe1e0954bfa2.html"
SourceType
makeSelect calls