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

Method constructor

src/webpage/settings.ts:1105–1117  ·  view source on GitHub ↗
(
		owner: Options | Form,
		onchange?: InstancePicker["onchange"],
		button?: HTMLButtonElement,
		instance?: string,
	)

Source from the content-addressed store, hash-verified

1103 innerDiv.append(this.clearbutton);
1104 }
1105 div.append(innerDiv);
1106 return div;
1107 }
1108}
1109
1110class HtmlArea implements OptionsElement<void> {
1111 submit: () => void;
1112 html: (() => HTMLElement) | HTMLElement;
1113 value!: void;
1114 constructor(html: (() => HTMLElement) | HTMLElement, submit: () => void) {
1115 this.submit = submit;
1116 this.html = html;
1117 }
1118 generateHTML(): HTMLElement {
1119 if (this.html instanceof Function) {
1120 return (this.html = this.html());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected