You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
begin_hour:0, //ignored when you set type to 'dynamic'
31
31
end_hour:6, //how many hours to show.
32
+
fromNow:0, // add this many days to today's current date, e.g., 1 is tomorrow, -1 is yesterday
32
33
time_display_section_count:6,
33
34
time_display_section_format:"HH:mm",
34
35
calendars: ["your calendar name", "another name"] //in your `MMM-CalendarExt` configuration
@@ -57,6 +58,19 @@ end_hour: 6,
57
58
If current time be 13:45, This would show schedules which goes from 13:00 to 19:00. The view will be changed automatically by time.
58
59
`begin_hour` will be ignored when type is set to `dynamic`.
59
60
61
+
### transform
62
+
See [Transforming in MMM-CalendarExt2](https://github.com/MMM-CalendarExt2/MMM-CalendarExt2/blob/master/docs/Filtering-and-Sorting.md#transforming). A `transform` key can be added to the MMM-CalendarExtTimeline config in the same way, for example:
63
+
64
+
```javascript
65
+
transform: (event) => {
66
+
if (event.title.includes("Meeting")) {
67
+
event.styleName="meeting-style"// Change the CSS class name to highlight meetings
68
+
}
69
+
returnevent
70
+
}
71
+
```
72
+
73
+
60
74
### I just want to display only this module, not `MMM-CalendarExt` ###
61
75
In your configuration of `MMM-CalendarExt`, modify this.
0 commit comments