• Opens modal with defined Assets to choose from and adds asset(s) to the current context (i.e. the feature the user is currently in, could be a Shared Space, a Collection, My Files, ...).

    Example

    import { Showpad } from '@showpad/experience-app-sdk'

    const assetSlugs = ['648b2eb8-6fa1-40f2-b787-39cb1d51db69']

    const assetSlugsAdded = await Showpad.addAssetsToCurrentContext(assetSlugs)

    Parameters

    • assetSlugs: string[]

    Returns Promise<string[]>

    Slugs of the assets that were added.

Generated using TypeDoc