MCPcopy Create free account
hub / github.com/bwasti/mebm / constructor

Method constructor

script.js:30–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29class Settings {
30 constructor() {
31 this.div = document.createElement('div');
32 this.div.classList.toggle('settings');
33 this.holder = document.createElement('div');
34 this.holder.classList.toggle('holder');
35 this.div.appendChild(this.holder);
36 const ok = document.createElement('a');
37 ok.textContent = '[apply]'
38 this.div.appendChild(ok);
39 }
40
41 add(name, type, init, callback, elem_type='input') {
42 let label = document.createElement('label');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected