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

Function syncDOMSelectionWithSelectedModels

renderer.js:13314–13323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13312 try {
13313 const ta = document.createElement('textarea');
13314 ta.value = value;
13315 ta.setAttribute('readonly', '');
13316 ta.style.position = 'fixed';
13317 ta.style.left = '-9999px';
13318 document.body.appendChild(ta);
13319 ta.select();
13320 document.execCommand('copy');
13321 ta.remove();
13322 return true;
13323 } catch (_) {
13324 return false;
13325 }
13326 }

Callers

nothing calls this directly

Calls 1

isInSelectedModelsFunction · 0.85

Tested by

no test coverage detected