div-collection-item-builder
No description yet.
Parameters
Parameters | Description |
---|---|
data |
raw_array Required parameter. Data that will be used to create collection elements. Available platforms: Android, iOS, web. |
prototypes |
array Required parameter. Array of An array must not be empty. Available platforms: Android, iOS, web. |
data_element_name |
string Name for accessing the next Default value: Available platforms: Android, iOS, web. |
prototype
Parameters | Description |
---|---|
div |
object Required parameter.
The value has the type List of possible values: |
id |
string
|
selector |
bool_int A condition that is used to select the prototype for the next element in the collection. If there is more than 1 true condition, the earlier prototype is selected. If none of the conditions are met, the element from Default value: |
JSON
{
data*: "raw_array",
data_element_name: "string",
prototypes*: [
{
div*: div,
id: "string",
selector: "bool_int"
},
...
]
}