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

Method constructor

src/webpage/settings.ts:435–446  ·  view source on GitHub ↗
(
		label: string,
		onSubmit: (str: string) => void,
		owner: Options,
		{initColor = "#000000"} = {},
	)

Source from the content-addressed store, hash-verified

433 this.onSubmit(this.value);
434 }
435}
436
437class SubButtonInput implements OptionsElement<void> {
438 readonly owner: Options;
439 readonly onClick: (opt: Options) => void;
440 textContent: string;
441 value!: void;
442 opts?: {noSubmit?: boolean; ltr?: boolean; intText?: string};
443
444 constructor(
445 textContent: string,
446 onClick: (opt: Options) => void,
447 owner: Options,
448 {} = {},
449 opts?: SubButtonInput["opts"],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected