MCPcopy Create free account
hub / github.com/DFin/Neural-Network-Visualisation / constructor

Method constructor

assets/main.js:1612–1620  ·  view source on GitHub ↗
(root)

Source from the content-addressed store, hash-verified

1610
1611class NeuronDetailPanel {
1612 constructor(root) {
1613 this.root = root;
1614 this.onClear = null;
1615 this.handleClose = this.handleClose.bind(this);
1616 if (this.root) {
1617 this.root.classList.remove("visible");
1618 this.root.innerHTML = "";
1619 }
1620 }
1621
1622 setOnClear(handler) {
1623 this.onClear = typeof handler === "function" ? handler : null;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected