makeDropdownWithOptions function infrastructure
Last updated: 2026-03-02T13:35:57.085Z
Metrics
LOC: 12
Complexity: 2
Params: 1
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)
| Source | Type |
|---|---|
| makeSelect | calls |