-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathconfig.demo.js
More file actions
105 lines (98 loc) · 2.73 KB
/
Copy pathconfig.demo.js
File metadata and controls
105 lines (98 loc) · 2.73 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
const config =
{
logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"],
modules: [
{
module: "MMM-CalendarExt2",
position: "top_left",
config: {
views: [
{
firstDrawingDelay: 0,
name: "view1",
mode: "week",
slotCount: 2,
maxItems: 100,
hideOverflow: false,
slotMaxHeight: "200px",
position: "fullscreen_below",
calendars: ["Demo categories"],
iconMap: {
Birthday: "fxemoji:birthdaycake",
Health: "noto:hospital",
Work: "noto:briefcase",
Vacation: "noto:beach-with-umbrella",
Leisure: "noto:musical-notes",
Family: "noto:family",
Deadline: "noto:alarm-clock",
Important: "noto:warning"
}
}
],
scenes: [
{
name: "DEFAULT"
}
],
calendars: [
{
url: "https://www.webcal.guru/de-DE/kalender_herunterladen?calendar_instance_id=726"
},
{
url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics"
},
{
name: "Demo categories",
uid: "categories",
url: "http://localhost:8080/modules/MMM-CalendarExt2/demo-categories.ics"
}
]
}
},
{
disabled: true,
module: "MMM-CalendarExt2",
position: "middle_center",
config: {
locale: "de",
calendars: [
{
name: "calendar1",
url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics"
}
],
views: [
{
name: "week-default",
mode: "week",
position: "top_left",
slotCount: 1,
slotTitleFormat: "DD.MM.",
slotSubTitleFormat: "dddd",
calendars: ["calendar1"]
},
{
name: "week-workaround",
mode: "week",
position: "bottom_left",
slotCount: 1,
slotTitleFormat: "DD.MM.",
slotAltTitleFormat: "DD.MM.",
slotSubTitleFormat: "dddd",
calendars: ["calendar1"]
}
],
scenes: [
{
name: "Test Scene",
views: ["week-default", "week-workaround"]
}
]
}
}
]
};
/** ************* DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {
module.exports = config;
}