Programmatically open the asset viewer with the passed asset.
import { Showpad } from '@showpad/experience-app-sdk'const assetSlug = '648b2eb8-6fa1-40f2-b787-39cb1d51db69'await Showpad.openAssetViewer(assetSlug) Copy
import { Showpad } from '@showpad/experience-app-sdk'const assetSlug = '648b2eb8-6fa1-40f2-b787-39cb1d51db69'await Showpad.openAssetViewer(assetSlug)
Open a file in modal mode. This means it will be opened on top of the current context, so closing the file brings you back to the original context. The default value is true.
Generated using TypeDoc
Programmatically open the asset viewer with the passed asset.
Example