• Opens modal with all Collections to choose from and adds asset(s) to the selected ones.

    Multiple Collections can be picked at once if enabled.

    Example

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

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

    const collectionIds = await Showpad.addAssetsToCollections(assetSlugs)

    Parameters

    • assetSlugs: string[]

    Returns Promise<string[]>

    Ids of the collections the assets were added to.

Generated using TypeDoc