forked from divkit/divkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiv-indicator.json
98 lines (98 loc) · 3 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"java_extends": "DivBlockWithId",
"$description": "translations.json#/div_indicator",
"allOf": [
{
"$ref": "div-base.json"
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"indicator"
]
},
"pager_id": {
"$ref": "common.json#/id",
"$description": "translations.json#/div_indicator_pager_id"
},
"items_placement" : {
"$ref": "div-indicator-item-placement.json",
"$description": "translations.json#/div_indicator_item_placement"
},
"space_between_centers": {
"$ref": "div-fixed-size.json",
"default_value": "{\"type\": \"fixed\",\"value\":15}",
"$description": "translations.json#/div_indicator_space_between_centers",
"deprecated": true
},
"inactive_item_color": {
"$ref": "common.json#/color",
"default_value": "#33919cb5",
"$description": "translations.json#/div_indicator_inactive_item_color",
"deprecated": true
},
"active_item_color": {
"$ref": "common.json#/color",
"default_value": "#ffdc60",
"$description": "translations.json#/div_indicator_active_item_color",
"deprecated": true
},
"shape": {
"$ref": "div-shape.json",
"default_value": "{\"type\":\"rounded_rectangle\"}",
"$description": "translations.json#/div_indicator_shape",
"deprecated": true
},
"active_item_size": {
"$ref": "common.json#/positive_number",
"default_value": "1.3",
"$description": "translations.json#/div_indicator_active_item_size",
"deprecated": true
},
"minimum_item_size": {
"$ref": "common.json#/positive_number",
"default_value": "0.5",
"$description": "translations.json#/div_indicator_minimum_item_size",
"platforms": [
"android",
"ios"
],
"deprecated": true
},
"active_shape": {
"$ref": "div-rounded-rectangle-shape.json",
"$description": "translations.json#/div_indicator_active_shape"
},
"inactive_shape": {
"$ref": "div-rounded-rectangle-shape.json",
"$description": "translations.json#/div_indicator_inactive_shape"
},
"inactive_minimum_shape": {
"$ref": "div-rounded-rectangle-shape.json",
"$description": "translations.json#/div_indicator_inactive_minimum_shape",
"platforms": [
"android",
"ios"
]
},
"animation": {
"type": "string",
"enum": [
"scale", "worm", "slider"
],
"default_value": "scale",
"$description": "translations.json#/div_indicator_animation",
"platforms": [
"android",
"ios"
]
}
}
}
],
"required": [
"type"
]
}