MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / handleCopyEmbedHtml

Function handleCopyEmbedHtml

src/components/ui/ShareButton.tsx:147–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145 };
146
147 const handleCopyEmbedHtml = async () => {
148 const embedUrl = generateEmbedUrl(shareSource, currentViewState);
149 const iframeHtml = generateIframeHtml(embedUrl);
150 await copyWithFeedback(iframeHtml, setCopiedEmbedHtml);
151 };
152
153 return (
154 <div className={`flex items-center ${className}`}>

Callers

nothing calls this directly

Calls 3

generateEmbedUrlFunction · 0.90
generateIframeHtmlFunction · 0.85
copyWithFeedbackFunction · 0.85

Tested by

no test coverage detected