present()
Opens the measuring / try-on window for a product.
function present(product: string, step?: OpenStep): voidParameters
Section titled “Parameters”productstringRequiredYour product ID or SKU.
stepOpenStepOptional"create", "improve" or "view".
Example
Section titled “Example”present("SKU-123"); // or present("SKU-123", "view")tys.present(product: "SKU-123") // or step: .view, from: viewControllertys.present(activity, "SKU-123") // or step = OpenStep.VIEWawait tys.present('SKU-123'); // or step: OpenStep.viewWas this page helpful?
Thank you. We read every answer.