MCPcopy
hub / github.com/027xiguapi/code-box / removeCss

Function removeCss

tools.ts:21–24  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

19}
20
21export function removeCss(id) {
22 var style = document.querySelector(`[data-id="${id}"]`)
23 style && style.remove()
24}
25
26export function addJs(code) {
27 const script = document.createElement("script")

Callers 2

runCssFuncFunction · 0.85
copyCodeCssFuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected