-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
34 lines (34 loc) · 745 Bytes
/
config.js
File metadata and controls
34 lines (34 loc) · 745 Bytes
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
var config = {
//config for the 4 buttons
sides: {
top:{
name:'config',
//will not be generated into html or js if set to false
active:true,
//will be resized to 70x70 px
img:'gear.png',
//name of the function that is executed onClick. These have to be declared before executing this!
action:topAction
},
right:{
name:'remove',
active:true,
img:'cross.png',
action:rightAction
},
bottom:{
name:'options',
active:true,
img:'bars.png',
action:bottomAction
},
left:{
name:'add',
active:true,
img:'plus.png',
action:leftAction
}
},
//will be resized to 300x300 px
background:'emptyRing.png'
}