mirror of
https://github.com/divkit/divkit.git
synced 2026-05-07 20:02:32 +00:00
fix json format
commit_hash:fd6e36a8ea96d96b9a00bac60a72f213c5f2dc0e
This commit is contained in:
@@ -70,7 +70,8 @@
|
||||
"image_url": "https://yastatic.net/s3/home/yandex-app/div_demo/containers.png"
|
||||
}
|
||||
]
|
||||
},{
|
||||
},
|
||||
{
|
||||
"type": "subtitle",
|
||||
"text": "The transparency of the first image is 1 and the second is 0.5."
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
"states": [
|
||||
{
|
||||
"state_id": 0,
|
||||
"div":{
|
||||
"div": {
|
||||
"type": "container",
|
||||
"orientation": "vertical",
|
||||
"margins": {
|
||||
|
||||
@@ -94,7 +94,9 @@
|
||||
"type": "match_parent",
|
||||
"weight": 1
|
||||
},
|
||||
"margins": {"left": 2}
|
||||
"margins": {
|
||||
"left": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "text_block",
|
||||
@@ -103,12 +105,16 @@
|
||||
"type": "match_parent",
|
||||
"weight": 2
|
||||
},
|
||||
"margins": {"left": 2}
|
||||
"margins": {
|
||||
"left": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "text_block",
|
||||
"text": "wrap_content",
|
||||
"margins": {"left": 2}
|
||||
"margins": {
|
||||
"left": 2
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
"end": 40
|
||||
},
|
||||
"width": {
|
||||
"type":"fixed",
|
||||
"type": "fixed",
|
||||
"value": 100
|
||||
}
|
||||
},
|
||||
|
||||
@@ -143,16 +143,16 @@
|
||||
"keyboard_type": "single_line_text",
|
||||
"enter_key_type": "done",
|
||||
"enter_key_actions": [
|
||||
{
|
||||
"log_id": "clear focus",
|
||||
"typed": {
|
||||
"type": "clear_focus"
|
||||
}
|
||||
},
|
||||
{
|
||||
"log_id": "change_button_1_state",
|
||||
"url": "div-action://set_variable?name=my_single_text&value=Enter key tapped!"
|
||||
{
|
||||
"log_id": "clear focus",
|
||||
"typed": {
|
||||
"type": "clear_focus"
|
||||
}
|
||||
},
|
||||
{
|
||||
"log_id": "change_button_1_state",
|
||||
"url": "div-action://set_variable?name=my_single_text&value=Enter key tapped!"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
"states": [
|
||||
{
|
||||
"state_id": 0,
|
||||
"div":{
|
||||
"div": {
|
||||
"type": "container",
|
||||
"orientation": "vertical",
|
||||
"margins": {
|
||||
|
||||
Reference in New Issue
Block a user