(element: HTMLElement)
| 75 | } |
| 76 | |
| 77 | const highlightElement = (element: HTMLElement) => { |
| 78 | removeHighlight() |
| 79 | element.classList.add("codebox-current") |
| 80 | } |
| 81 | |
| 82 | const removeHighlight = () => { |
| 83 | const currentList = document.querySelectorAll(".codebox-current") |
no test coverage detected