()
| 468 | constructor(div) { this.div = div } |
| 469 | |
| 470 | clear() { |
| 471 | let clone = this.div.cloneNode(false) |
| 472 | this.div.parentNode.replaceChild(clone, this.div) |
| 473 | this.div = clone |
| 474 | } |
| 475 | |
| 476 | get empty() { |
| 477 | return !this.div.firstChild |
no outgoing calls
no test coverage detected