(colNames)
| 47 | * `colNames` argument as a list of strings. |
| 48 | */ |
| 49 | export function updateColumnNamesOutput(colNames) { |
| 50 | const container = columnNamesOutputContainerElement; |
| 51 | container.align = 'left'; |
| 52 | while (container.firstChild) { |
| 53 | container.removeChild(container.firstChild); |
| 54 | } |
| 55 | const olList = document.createElement('ol'); |
| 56 | for (const name of colNames) { |
| 57 | const item = document.createElement('li'); |
| 58 | item.textContent = name; |
| 59 | olList.appendChild(item); |
| 60 | } |
| 61 | container.appendChild(olList); |
| 62 | }; |
| 63 | |
| 64 | // Updates the message in the "sample" output row. |
| 65 | export function updateSampleRowMessage(message) { |
nothing calls this directly
no outgoing calls
no test coverage detected