(
label: string,
onSubmit: (str: string) => void,
owner: Options,
{initText = ""} = {},
)
| 726 | } |
| 727 | } |
| 728 | }); |
| 729 | const legend = document.createElement("legend"); |
| 730 | legend.textContent = this.label; |
| 731 | fieldset.appendChild(legend); |
| 732 | let i = 0; |
| 733 | for (const thing of this.options) { |
| 734 | const div = document.createElement("div"); |
| 735 | const input = document.createElement("input"); |
| 736 | input.classList.add("radio"); |
| 737 | input.type = "radio"; |
| 738 | input.name = this.label; |
| 739 | input.value = thing; |
| 740 | map.set(input, i); |
| 741 | if (i === this.index) { |
nothing calls this directly
no outgoing calls
no test coverage detected