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

Method generateHTML

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

Source from the content-addressed store, hash-verified

2225 }
2226 this.names.set(formName, emoji);
2227 return emoji;
2228 }
2229 addDateInput(label: string, formName: string, {initText = "", required = false} = {}) {
2230 const dateInput = this.options.addDateInput(label, (_) => {}, {
2231 initText,
2232 });
2233 this.names.set(formName, dateInput);
2234 if (required) {
2235 this.required.add(dateInput);
2236 }
2237 return dateInput;
2238 }
2239 addTextInput(
2240 label: string,
2241 formName: string,
2242 {initText = "", required = false, password = false, spaceReplace = " ", name = ""} = {},
2243 ) {
2244 const textInput = this.options.addTextInput(label, (_) => {}, {
2245 initText,
2246 password,
2247 spaceReplace,

Callers

nothing calls this directly

Calls 3

submitMethod · 0.95
addMethod · 0.80
generateHTMLMethod · 0.65

Tested by

no test coverage detected