MCPcopy Create free account
hub / github.com/alienkitty/space.js / html

Method html

src/utils/Interface.js:286–298  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

284 }
285
286 html(string) {
287 if (!this.element) {
288 return;
289 }
290
291 if (string === undefined) {
292 return this.element.innerHTML;
293 } else {
294 this.element.innerHTML = string;
295 }
296
297 return this;
298 }
299
300 hide() {
301 return this.css({ display: 'none' });

Callers 9

initTextMethod · 0.95
initTextMethod · 0.95
initTextMethod · 0.95
setDataMethod · 0.80
initViewsMethod · 0.80
setDataMethod · 0.80
initMethod · 0.80
initViewsMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected