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

Method setText

src/webpage/settings.ts:245–255  ·  view source on GitHub ↗
(text: MarkDown)

Source from the content-addressed store, hash-verified

243 }
244}
245class DateInput extends TextInput {
246 dateValue: Date | null;
247 constructor(
248 label: string,
249 onSubmit: (str: string) => void,
250 owner: Options,
251 {initText = "" as string | Date} = {},
252 ) {
253 let initDate: DateInput["dateValue"] = null;
254 if (initText instanceof Date) {
255 initDate = initText;
256 initText = "";
257 }
258 super(label, onSubmit, owner, {initText});

Callers 1

generateHTMLMethod · 0.95

Calls 1

makeHTMLMethod · 0.45

Tested by

no test coverage detected