(container: HTMLElement)
| 929 | |
| 930 | /** Reset patch state when doing a full innerHTML replace */ |
| 931 | export function resetPatchState(container: HTMLElement): void { |
| 932 | container.querySelectorAll("table").forEach((table) => { |
| 933 | delete table.dataset.shRowCount; |
| 934 | delete table.dataset.shTheadRowCount; |
| 935 | delete table.dataset.shLayoutFixed; |
| 936 | }); |
| 937 | } |
| 938 | |
| 939 | /** Build renderable HTML from strip-only track (no premature </tr>) */ |
| 940 | export function assembleStreamHtml(track: string): string { |
no outgoing calls
no test coverage detected