|
|
This widget is only available with Vuforia Studio and Experience Service 10.0.0 and later.
|
|
|
If you are unsure about which version of the Experience Service you are running, contact your administrator.
|
|
Property Name
|
JavaScript
|
Type
|
Description
|
||
|---|---|---|---|---|---|
|
Product ID
|
productID
|
string
|
Product ID of the product.
|
||
|
Version
|
version
|
string
|
Specifies the version of the product. A product may have multiple versions. If no version is provided, the latest available version is used by default.
|
||
|
Model
|
modelUri
|
string
|
Model resource URL of the product. (.pvz file)
|
||
|
Target
|
targetUri
|
string
|
Target resource URL of the product. (.dat file)
|
|
|
The Product widget is used to load and display product data based on a Product ID and an optional version. If you provide both a Product ID and a version, the widget will load that specific version of the product. If you only provide a Product ID and leave the version blank, the widget will automatically load the latest version of the product.
|
|
Event
|
JavaScript
|
Description
|
||
|---|---|---|---|---|
|
Product Loaded
|
productLoaded
|
Triggered once the Product-related URLs have been successfully retrieved. To detect when the model has fully loaded, use the modelLoaded event of the Model Target widget.
|
||
|
Product Failed
|
productFailed
|
Triggered when the loading of the product fails.
|