* Shows the element by ID. * @param {string} elementId The ID of the element.
(elementId: string)
| 571 | * @param {string} elementId The ID of the element. |
| 572 | */ |
| 573 | function showElement(elementId: string) { |
| 574 | const element = document.getElementById(elementId); |
| 575 | if (element) { |
| 576 | element.style.display = 'block'; |
| 577 | } |
| 578 | } |
| 579 | |
| 580 | /** |
| 581 | * Hides the element by ID. |
no outgoing calls
no test coverage detected