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

Method addSubButtonInput

src/webpage/settings.ts:1555–1564  ·  view source on GitHub ↗
(
		textContent: string,
		onSubmit: (opt: Options) => void,
		{ltr = false, noSubmit = false, intText = ""} = {},
	)

Source from the content-addressed store, hash-verified

1553 this.generate(instancePicker);
1554 return instancePicker;
1555 }
1556 returnFromSub() {
1557 this.subOptions = undefined;
1558 this.genTop();
1559 }
1560 addSelect(
1561 label: string,
1562 onSubmit: (str: number) => void,
1563 selections: readonly string[],
1564 {defaultIndex = 0, radio = false} = {},
1565 ) {
1566 const select = new SelectInput(label, onSubmit, selections, this, {
1567 defaultIndex,

Callers

nothing calls this directly

Calls 1

generateMethod · 0.95

Tested by

no test coverage detected