-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinstall.json
More file actions
111 lines (111 loc) · 2.4 KB
/
Copy pathinstall.json
File metadata and controls
111 lines (111 loc) · 2.4 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
103
104
105
106
107
108
109
110
111
{
"resources": {
"head": [
{
"type": "style",
"src": "./vendor/tooltip-theme-arrows.css"
},
{
"type": "script",
"src": "./vendor/tether.js"
},
{
"type": "script",
"src": "./vendor/drop.js"
},
{
"type": "script",
"src": "./vendor/tooltip.js"
}
],
"body": [
{
"type": "style",
"src": "./build/app.css"
},
{
"type": "script",
"src": "./build/app.js"
}
]
},
"preview": {
"handlers": [
{
"options": [
"username",
"url"
],
"execute": "INSTALL_SCOPE.setOptionsCommon(INSTALL_OPTIONS)"
},
{
"options": ["text"],
"execute": "INSTALL_SCOPE.setOptionsRerender(INSTALL_OPTIONS)"
}
]
},
"options": {
"properties": {
"username": {
"order": 0,
"title": "Twitter username",
"type": "object",
"properties": {
"enabled": {
"order": 0,
"title": "Add your username to the visitor's tweet.",
"type": "boolean",
"default": false
},
"value": {
"showIf": "username.enabled",
"order": 1,
"title": "Twitter username",
"type": "string",
"placeholder": "@username"
}
}
},
"url": {
"order": 2,
"title": "Tweet URL",
"type": "object",
"properties": {
"type": {
"order": 0,
"format": "radios",
"type": "string",
"title": "Choose a URL to add to the tweet",
"default": "location",
"enum": [
"none",
"location",
"custom"
],
"enumNames": {
"none": "Don't add a URL",
"location": "My website's URL",
"custom": "A custom URL"
}
},
"custom": {
"showIf": {
"url.type": "custom"
},
"order": 1,
"title": "Custom URL",
"type": "string",
"format": "url"
}
}
},
"text": {
"order": 3,
"title": "Button label",
"type": "string",
"default": "Tweet",
"placeholder": "Tweet"
}
}
}
}