MCPcopy Create free account
hub / github.com/MathMan05/Fermi / constructor

Method constructor

src/webpage/settings.ts:728–738  ·  view source on GitHub ↗
(
		label: string,
		onSubmit: (str: string) => void,
		owner: Options,
		{initText = ""} = {},
	)

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected