Skip to content

Image List

The Image List is a component that displays images in a tiled format. Set the file manager path to the image you want to display.

Property

NoItemInput ValueDefault ValueAction PropertyTypeAction Default ValueDescription
1IDStringAuto-generatedidstringAuto-generatedThe [id] property cannot be set by actions.
2WidthNumber488widthnumber488Component width
3HeightNumber160heightnumber160Component height
4XNumberxnumberX coordinate position
5YNumberynumberY coordinate position
6LockBooleanOFFlockbooleanfalseWhen ON, the component stays fixed even when the screen is scrolled.
When OFF, the component moves along with the screen scroll.
Added in v4.1.0.
7ColsNumber3colnumber3Number of columns to display
8GapNumber4gapnumber4Gap width between images
9Icon ColorStringiconColorstringIcon color displayed when no image is set. Added in v3.4.0.
10Background ColorStringbackgroundColorstringBackground color displayed when no image is set. Added in v3.4.0.
11Object FitSelection
1.Cover
2.Contain
3.None
CoverobjectFitstringcoverImage display method
12Cache DisabledBooleanOFFcacheDisabledbooleanfalseCache usage state for image
Added in v4.1.0.
13VisibilityBooleanONvisibilitybooleantrueComponent show/hide
14ValueTable format
[Detail 1]
[Detail 1]valuearray of object[Detail 1]Image list value

[Details 1] Value

Click the "Add" button to register.
To delete, select the check box and click the "Delete" button.
The image is set to the path of the file manager.

SelectIDImage
Checkboximg1/img_101.jpg
Checkboximg2/img_102.jpg
Checkboximg3/img_103.jpg

"value" is in the form of an array of objects.
[[{"id":"img1","image":"/img_101.jpg"},{"id":"img2","image":"/img_102.jpg"},{"id":"img3","image":"/img_103.jpg"}]]

Event

None