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

Method addFileInput

src/webpage/settings.ts:1498–1503  ·  view source on GitHub ↗
(label: string, onSubmit: (files: FileList | null) => void, {clear = false} = {})

Source from the content-addressed store, hash-verified

1496 addSubOptions(name: string, {ltr = false, noSubmit = false} = {}) {
1497 const options = new Options(name, this, {ltr, noSubmit});
1498 this.subOptions = options;
1499 this.genTop();
1500 return options;
1501 }
1502 addSubForm(
1503 name: string,
1504 onSubmit: (arg1: object, sent: object) => void,
1505 {
1506 ltr = false,

Callers

nothing calls this directly

Calls 1

generateMethod · 0.95

Tested by

no test coverage detected