forked from divkit/divkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiv-animation.json
58 lines (58 loc) · 1.5 KB
/
div-animation.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
{
"type": "object",
"$description": "translations.json#/div_animation",
"properties": {
"name": {
"type": "string",
"enum": [
"fade",
"translate",
"scale",
"native",
"set",
"no_animation"
],
"$description": "translations.json#/div_animation_name"
},
"duration": {
"$ref": "common.json#/non_negative_integer",
"default_value": "300",
"$description": "translations.json#/div_animation_duration"
},
"start_delay": {
"$ref": "common.json#/non_negative_integer",
"default_value": "0",
"$description": "translations.json#/div_animation_start_delay"
},
"start_value": {
"type": "number",
"$description": "translations.json#/div_animation_start_value"
},
"end_value": {
"type": "number",
"$description": "translations.json#/div_animation_end_value"
},
"repeat": {
"alias_swift": "repeat_count",
"$ref": "div-count.json",
"default_value": "{ \"type\": \"infinity\" }",
"$description": "translations.json#/div_animation_repeat"
},
"interpolator": {
"$ref": "div-animation-interpolator.json",
"default_value": "spring",
"$description": "translations.json#/div_animation_interpolator"
},
"items": {
"type": "array",
"items": {
"$ref": "div-animation.json"
},
"minItems": 1,
"$description": "translations.json#/div_animation_items"
}
},
"required": [
"name"
]
}