* Clear all rendered content
()
| 298 | * Clear all rendered content |
| 299 | */ |
| 300 | clear() { |
| 301 | this.destroyChildTrees(); |
| 302 | |
| 303 | if (this.virtualList) { |
| 304 | this.virtualList.destroy(); |
| 305 | this.virtualList = null; |
| 306 | } |
| 307 | this.container.innerHTML = ""; |
| 308 | this.container.classList.remove("virtual-scroll"); |
| 309 | this.entries = []; |
| 310 | } |
| 311 | |
| 312 | /** |
| 313 | * Destroy the file tree and cleanup |
no test coverage detected