A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Alert from inside function
-
@Luukth thats an issue of accessing the right scope, you can fix that by using an arrow function
setInterval(() => { updateOV(); this.sendNotification("SHOW_ALERT", {title: "OV", message: "Bustijden ge-update.", timer: "1000"}); }, 10000);
-
@strawberry-3.141 Thanks that did the trick.
-
@Luukth I suggest to outsource the data query from the render function
-
@strawberry-3.141 said in Alert from inside function:
I suggest to outsource the data query from the render function
Can you maybe link me to a documentation. I can’t really find a good way to learn how to make al of those functions.
-
@Luukth https://github.com/MichMich/MagicMirror/tree/master/modules
or you also can checkout some modules