Function setDisplayedVariant

  • Set which Variant should be visible.

    Parameters

    • variant: string | number | Variant

      The variant that should be visible. Could be the id of a Variant, an index or a particular Variant.

    Returns Promise<void>