MCPcopy Index your code
hub / github.com/027xiguapi/code-box / removeHighlight

Function removeHighlight

component/ui/customDomSelector.tsx:82–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 }
81
82 const removeHighlight = () => {
83 const currentList = document.querySelectorAll(".codebox-current")
84 currentList.forEach((el) => el.classList.remove("codebox-current"))
85 }
86
87 const updateTooltipPosition = (element: HTMLElement) => {
88 const rect = element.getBoundingClientRect()

Callers 2

highlightElementFunction · 0.85
resetStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected