()
| 59 | } |
| 60 | |
| 61 | function prepare() { |
| 62 | destroyDom(); |
| 63 | data = buildTable(); |
| 64 | |
| 65 | if (insertSsrContent) { |
| 66 | // Prepare DOM structure, similar to what SSR would produce. |
| 67 | const hostElement = document.getElementById('table')!; |
| 68 | hostElement.setAttribute('ngh', '0'); |
| 69 | hostElement.textContent = ''; // clear existing DOM contents |
| 70 | hostElement.appendChild(createTableDom(data)); |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | function noop() {} |
| 75 |
nothing calls this directly
no test coverage detected
searching dependent graphs…