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

Method setCustomBox

src/webpage/markdown.ts:1108–1113  ·  view source on GitHub ↗
(
		stringToHTML: (arg1: string) => HTMLElement,
		HTMLToString = MarkDown.gatherBoxText.bind(MarkDown),
	)

Source from the content-addressed store, hash-verified

1106 this.txt = boxText.split("");
1107 box.append(this.makeHTML({keep: true}));
1108 const len = txti.length + txt.length;
1109 text = boxText;
1110
1111 this.boxupdate(len, false, 0);
1112 } else {
1113 this.txt = txt.split("");
1114 box.innerHTML = "";
1115 box.append(this.makeHTML({keep: true}));
1116 text = txt;

Callers 1

index.tsFile · 0.80

Calls 1

bindMethod · 0.45

Tested by

no test coverage detected