A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
A module that changes the text color of a Calender when the next event happens in a certain amount of time.
-
@MerlijnAlmer
If you are using MMM-CalendarExt2, you cantransform
title of an event by replacing with description field of event.
views: [ ... { name: "VIEW3", mode: "upcoming", position:"top_center", transform:(event) => { event.title = event.description if (event.startDate < ((Date.now()/1000 + 60*15))) { event.className = "urgent" event.icon = "flat-color-icons:alarm-clock" } return event } }, ... ]
:D
-
okay i was just in the process of taking the screen apart to use calendarExt2 thank you for your quick and usefull help.
~M
-
@Sean i might seem to be a absolute knob head for you but when i put the codes in my .js file it breaks the file.
or is the code supposed to go in to the .css file? -
@MerlijnAlmer
show me your configuration. eouia0819@gmail.com -
@sean i sent it