MCPcopy
hub / github.com/sansan0/TrendRadar / updateBackdrop

Function updateBackdrop

docs/assets/script.js:28–32  ·  view source on GitHub ↗

* 更新高亮层

(textareaId, backdropId)

Source from the content-addressed store, hash-verified

26 * 更新高亮层
27 */
28function updateBackdrop(textareaId, backdropId) {
29 const ta = document.getElementById(textareaId);
30 const bd = document.getElementById(backdropId);
31 if (ta && bd) bd.innerHTML = applyHighlight(ta.value) + '\n';
32}
33
34/**
35 * 同步滚动

Callers 13

script.jsFile · 0.85
handleFileDropFunction · 0.85
updateYamlFromUIFunction · 0.85
renderFrequencyPanelFunction · 0.85
saveEditFunction · 0.85
updatePlatformsInYamlFunction · 0.85
updateRssFeedsInYamlFunction · 0.85
updateTimelineFieldFunction · 0.85
updatePresetMetaFunction · 0.85

Calls 1

applyHighlightFunction · 0.85

Tested by

no test coverage detected