(root)
| 1610 | |
| 1611 | class 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; |
nothing calls this directly
no outgoing calls
no test coverage detected