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

Method constructor

src/webpage/settings.ts:862–872  ·  view source on GitHub ↗
(
		label: string,
		onSubmit: (str: FileList | null) => void,
		owner: Options,
		{clear = false} = {},
	)

Source from the content-addressed store, hash-verified

860 onchange: (str: string) => void = (_) => {};
861 watchForChange(func: (str: string) => void) {
862 this.onchange = func;
863 }
864 submit() {
865 this.onSubmit(this.value);
866 }
867}
868class EmojiInput implements OptionsElement<Emoji | undefined | null> {
869 readonly label: string;
870 readonly owner: Options;
871 readonly onSubmit: (str: Emoji | undefined | null) => void;
872 input!: WeakRef<HTMLInputElement>;
873 value!: Emoji | undefined | null;
874 localuser: Localuser;
875 clear: boolean;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected