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

Function handleCopyEmbedUrl

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

Source from the content-addressed store, hash-verified

140 };
141
142 const handleCopyEmbedUrl = async () => {
143 const embedUrl = generateEmbedUrl(shareSource, currentViewState);
144 await copyWithFeedback(embedUrl, setCopiedEmbedUrl);
145 };
146
147 const handleCopyEmbedHtml = async () => {
148 const embedUrl = generateEmbedUrl(shareSource, currentViewState);

Callers

nothing calls this directly

Calls 2

generateEmbedUrlFunction · 0.90
copyWithFeedbackFunction · 0.85

Tested by

no test coverage detected