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

Method generateHTML

src/webpage/settings.ts:50–67  ·  view source on GitHub ↗
(hideButtons = false)

Source from the content-addressed store, hash-verified

48 this.titles = titles;
49 }
50 add(
51 name: string,
52 inner?: Options,
53 contained?: boolean,
54 head?: boolean,
55 color?: buttonColor,
56 initable?: boolean,
57 ) {
58 if (!inner) {
59 inner = new Options(this.titles ? name : "", this);
60 }
61 const button = {
62 name,
63 inner,
64 contained,
65 head,
66 color,
67 initable,
68 };
69 this.buttons.push(button);
70 const htmlarea = this.htmlarea.deref();

Callers

nothing calls this directly

Calls 3

generateButtonsMethod · 0.95
generateHTMLAreaMethod · 0.95
addMethod · 0.80

Tested by

no test coverage detected