You can configure an image box.

Configuration description

Field Description Data type Required? Remarks
name The name of the control. string Yes None.
type The type of the control. string Yes None.
default The default image. string No If this field is not specified, the default image is empty.
Notice If you want to specify a static image file in your computer, save the image file to the resources directory of the widget, for example, ./resources/xxxx.png.

Value description

Condition Data type Example Default value
None string "" ""

Configuration examples

Configuration example of an image box
  "name" : "Background",
  "type" : "image",
  "default": ""