forked from divkit/divkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiv-tooltip.json
55 lines (55 loc) · 1.29 KB
/
div-tooltip.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
{
"type": "object",
"$description": "translations.json#/div_tooltip",
"platforms": [
"android",
"ios"
],
"properties": {
"id": {
"$ref": "common.json#/non_empty_string",
"supports_expressions": false,
"$description": "translations.json#/div_tooltip_id"
},
"div": {
"$ref": "div.json",
"$description": "translations.json#/div_tooltip_div"
},
"position": {
"type": "string",
"enum": [
"left",
"top-left",
"top",
"top-right",
"right",
"bottom-right",
"bottom",
"bottom-left"
],
"$description": "translations.json#/div_tooltip_position"
},
"duration": {
"$ref": "common.json#/non_negative_integer",
"default_value": "5000",
"$description": "translations.json#/div_tooltip_duration"
},
"offset": {
"$ref": "div-point.json",
"$description": "translations.json#/div_tooltip_offset"
},
"animation_in" : {
"$ref": "div-animation.json",
"$description": "translations.json#/div_tooltip_animation_in"
},
"animation_out" : {
"$ref": "div-animation.json",
"$description": "translations.json#/div_tooltip_animation_out"
}
},
"required": [
"id",
"div",
"position"
]
}