(
label: string,
onSubmit: (str: number) => void,
options: readonly string[],
owner: Options,
{defaultIndex = 0, radio = false} = {},
)
| 615 | addbg.classList.add("addbg"); |
| 616 | const add = document.createElement("span"); |
| 617 | add.classList.add("svgicon", "svg-plus"); |
| 618 | addbg.append(add); |
| 619 | s.append(addbg); |
| 620 | add.onclick = (e) => { |
| 621 | this.popUpSearchBox(e.x, e.y, () => { |
| 622 | genArea(); |
| 623 | this.onchange(this.value); |
| 624 | }); |
| 625 | }; |
| 626 | }; |
| 627 | genArea(); |
| 628 | div.append(s); |
| 629 | return div; |
| 630 | } |
| 631 | async popUpSearchBox(x: number, y: number, done: () => void) { |
| 632 | const searchBox = document.createElement("div"); |
| 633 | searchBox.style.top = y + "px"; |
nothing calls this directly
no outgoing calls
no test coverage detected