MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / parseThumbnailString

Function parseThumbnailString

renderer.js:19348–19352  ·  view source on GitHub ↗
(thumbnailString)

Source from the content-addressed store, hash-verified

19346 // the chip is already showing because some of the selection already has it.
19347 if (existingTag && !(containerId === 'multi-tags' && !skipSave)) return;
19348
19349 // Create new tag element
19350 const tag = document.createElement('div');
19351 tag.className = 'tag';
19352 tag.setAttribute('data-tag-name', tagName);
19353 tag.setAttribute('title', tagName); // Show full tag name on hover
19354 tag.innerHTML = `
19355 <span class="tag-text">${escapeHtml(tagName)}</span>

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected