helper.transform
Creates a new array by transforming each of the elements in the original array.
For example, you can convert an array of image links to view.image components to display these images. This may be useful if the number of images in the array is unknown in advance.
Component properties
Name |
Type |
Description |
|
"helper.transform" |
Set component type |
|
any |
Template to transform elements in the array. The array value can be substituted using the |
|
array |
The array that you want to convert. You can specify an array in three ways:
|
|
any |
Array element. This can be any element — strings, numbers, JSON objects, or other arrays. If you used a reference to a field with input data, you do not need to also specify the element. |