-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproperties.js
More file actions
65 lines (61 loc) · 2.05 KB
/
properties.js
File metadata and controls
65 lines (61 loc) · 2.05 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
define([], function() {
'use strict';
// *****************************************************************************
// Settings section
// *****************************************************************************
var appearanceSection = {
uses: "settings",
items: {
landingpage: {
type: "items",
label: "Background Info",
ref: "BackgroundInfo",
items: {
background_video_url: {
ref: "background.videourl",
label: "Media URL",
type: "string",
expression: "optional"
},
background_transparency: {
ref: "background.transparency",
label: "transparency",
type: "string",
expression: "optional"
},
background_color: {
ref: "background.color",
label: "Background Hex Color",
type: "string",
expression: "optional"
}
}
},
debugmode: {
type: "boolean",
label: "Debug Mode",
ref: "DebugMode",
defaultValue: true
}
}
};
// *****************************************************************************
// Main properties panel definition
// Only what is defined here is returned from properties.js
// *****************************************************************************
return {
type: "items",
component: "accordion",
items: {
Settings: appearanceSection,
addons: {
uses: "addons",
items: {
dataHandling: {
uses: "dataHandling"
}
}
},
}
}
});