Files
4eb0da 20fd99d815 high_priority_preview_show for image
commit_hash:f54a7f63cc727d56495fda481e1d8ba43b96d31a
2025-04-12 20:44:23 +03:00

75 lines
1.7 KiB
JSON

{
"$description": "translations.json#/div_image",
"codegen": {
"divan": {
"forced_properties_order": [
"image_url"
]
}
},
"allOf": [
{
"$ref": "div-base.json"
},
{
"$ref": "div-actionable.json"
},
{
"$ref": "div-image-base.json"
},
{
"properties": {
"image_url": {
"$ref": "common.json#/url",
"$description": "translations.json#/div_image_image_url"
},
"high_priority_preview_show": {
"$ref": "common.json#/boolean_int",
"default_value": "false",
"$description": "translations.json#/div_image_high_priority_preview_show",
"platforms": [
"android",
"ios",
"web"
]
},
"type": {
"type": "string",
"enum": [
"image"
]
},
"tint_mode": {
"$ref": "div-blend-mode.json",
"default_value": "source_in",
"$description": "translations.json#/div_image_tint_mode"
},
"tint_color": {
"$ref": "common.json#/color",
"$description": "translations.json#/div_image_tint_color"
},
"appearance_animation": {
"$ref": "div-fade-transition.json",
"$description": "translations.json#/div_image_appearance_animation",
"platforms": [
"android",
"ios",
"web"
]
},
"filters": {
"type": "array",
"items": {
"$ref": "div-filter.json"
},
"$description": "translations.json#/div_filter"
}
}
}
],
"required": [
"image_url",
"type"
]
}