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

Method generateHTML

src/webpage/settings.ts:994–1008  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

992 this.owner.changed();
993 };
994 innerDiv.append(button);
995 }
996 div.append(innerDiv);
997 return div;
998 }
999 onChange() {
1000 this.owner.changed();
1001 const input = this.input.deref();
1002 if (input) {
1003 this.value = input.files;
1004 if (this.onchange) {
1005 this.onchange(input.files);
1006 }
1007 }
1008 }
1009 onchange: ((str: FileList | null | undefined) => void) | null = null;
1010 watchForChange(func: (str: FileList | null | undefined) => void) {
1011 this.onchange = func;

Callers

nothing calls this directly

Calls 1

addMethod · 0.80

Tested by

no test coverage detected