• Opens a modal with all collections to choose from and adds asset(s) to it.

    Example

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

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

    const collectionId = await Showpad.addAssetsToCollection(assetSlugs)

    Parameters

    • assetSlugs: string[]

    Returns Promise<string>

    Id of the collection the assets were added to.

Generated using TypeDoc