-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhandleEvents.json
More file actions
102 lines (102 loc) · 2.83 KB
/
handleEvents.json
File metadata and controls
102 lines (102 loc) · 2.83 KB
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
99
100
101
102
{
"sections": [
{
"title": "Секция",
"items": [
{
"id": "exampleButton",
"name": "Кнопка",
"description": "Пример кнопки",
"type": "button",
"bool": false,
"defaultParameter": false
},
{
"id": "exampleColor",
"name": "Выбор цвета",
"description": "Пример выбора цвета",
"type": "color",
"input": "#fff",
"defaultParameter": "#fff"
},
{
"id": "exampleText",
"name": "Текстовые поля",
"description": "Пример текстовых полей",
"type": "text",
"buttons": [
{
"id": "ExampleTextField",
"name": "Пример текстового поля 1",
"text": "Текстовое поле 1",
"defaultParameter": "Текстовое поле 1"
},
{
"id": "ExampleTextFieldTwo",
"name": "Пример текстового поля 2",
"text": "Текстовое поле 2",
"defaultParameter": "Текстовое поле 2"
}
]
},
{
"id": "ExampleSlider",
"name": "Слайдер",
"description": "Пример слайдера",
"type": "slider",
"min": 0,
"max": 100,
"step": 1,
"value": 50,
"defaultParameter": 50
},
{
"id": "ExampleFile",
"name": "Файл",
"description": "Пример выбора файла",
"type": "file",
"filePath": "",
"defaultParameter": {
"filePath": ""
},
"fileName": ""
},
{
"id": "ExampleSelector",
"name": "Селектор",
"description": "Пример селектора",
"type": "selector",
"selected": 1,
"options": {
"1": {
"event": "ExampleOne",
"name": "Элемент 1"
},
"2": {
"event": "ExampleTwo",
"name": "Элемент 2"
},
"3": {
"event": "ExampleThree",
"name": "Элемент 3"
}
},
"defaultParameter": 1
}
]
},
{
"title": "Пример",
"items": [
{
"id": "opacity",
"name": "Прозрачность",
"description": "Красивая прозрачность полноэкранного плеера",
"type": "button",
"bool": true,
"defaultParameter": false
}
]
}
]
}