Type Alias: ImageWidgetSelectImage()
ImageWidgetSelectImage = (
imageId
) =>Promise
<void
>
Function
Function signature for selecting an image from the image library.
This function updates the currently selected image in the image library, which can then be applied to a product configuration. It highlights the selected image in the interface and prepares it for application.
Parameters
imageId
string
The unique identifier of the image to select
Returns
Promise
<void
>
Promise that resolves when the selection is complete
Example
// Select a specific image by its ID
imageWidgetSelectImage('image-123');