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

Method getHTML

src/webpage/interactions/compontents.ts:153–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151 this.spacing = comp.spacing ?? 1;
152 }
153 getHTML() {
154 if (this.divider) {
155 const hr = document.createElement("hr");
156 if (this.spacing === 1) {
157 hr.style.margin = "4px";
158 } else {
159 hr.style.margin = "8px";
160 }
161 return hr;
162 } else {
163 const hr = document.createElement("span");
164
165 if (this.spacing === 1) {
166 hr.style.height = "16px";
167 } else {
168 hr.style.height = "32px";
169 }
170
171 return hr;
172 }
173 }
174}
175class Thumbnail extends compObj {
176 owner: Components;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected