About the feature:
The feature enables custom colors to be pulled from the data source. This way the colors are not fixed on the cell style configuration and can change daynamicly based on the data source.
Supported platforms:
iOS, Android, Apple TV, Android TV, Fire TV, Roku, Samsung TV, LG TV
To use Dynamic color data keys:
- Add to your data source extension with the colors.
entry.extensions.color
- In the cell style editor, change the color field to data key using the right button
- Add the data key. for example: "extensions.color" and save the layout.
feed extensions example:
{
"title": "A super cool show",
...
"extensions": {
"color": "rgba(255,0,0,0.3)",
"colorbg": "rgba(0,255,0,0.3)
}
Comments
0 comments
Article is closed for comments.