Skip to main content

Type Alias: GetShareUrl

GetShareUrl = () => Promise<string | null>

Builds an absolute URL for the current standard configuration. Use for a share or copy-link control. Null means no standard product is ready or no product prefix is available. The current page is retained. Embed URLs use mmqShare and may include an embed scope. Use getModularShareUrl for modular scenes.

Returns​

Promise<string | null>

Example​

const shareUrl = await window.mimeeqApp.actions.getShareUrl();
if (shareUrl) console.log(shareUrl);