forked from divkit/divkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiv-indicator.json
73 lines (73 loc) · 2.1 KB
/
div-indicator.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"java_extends": "DivBlockWithId",
"$description": "translations.json#/div_indicator",
"allOf": [
{
"$ref": "div-base.json"
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"indicator"
]
},
"pager_id": {
"type": "string",
"supports_expressions": false,
"$description": "translations.json#/div_indicator_pager_id"
},
"space_between_centers": {
"$ref": "div-fixed-size.json",
"default_value": "{\"type\": \"fixed\",\"value\":15}",
"$description": "translations.json#/div_indicator_space_between_centers"
},
"inactive_item_color": {
"$ref": "common.json#/color",
"default_value": "#33919cb5",
"$description": "translations.json#/div_indicator_inactive_item_color"
},
"active_item_color": {
"$ref": "common.json#/color",
"default_value": "#ffdc60",
"$description": "translations.json#/div_indicator_active_item_color"
},
"shape": {
"$ref": "div-shape.json",
"default_value": "{\"type\":\"rounded_rectangle\"}",
"$description": "translations.json#/div_indicator_shape"
},
"active_item_size": {
"$ref": "common.json#/positive_number",
"default_value": "1.3",
"$description": "translations.json#/div_indicator_active_item_size"
},
"minimum_item_size": {
"$ref": "common.json#/positive_number",
"default_value": "0.5",
"$description": "translations.json#/div_indicator_minimum_item_size",
"platforms": [
"android",
"ios"
]
},
"animation": {
"type": "string",
"enum": [
"scale", "worm", "slider"
],
"default_value": "scale",
"$description": "translations.json#/div_indicator_animation",
"platforms": [
"android",
"ios"
]
}
}
}
],
"required": [
"type"
]
}