Closed E3V3A closed 6 years ago
I just added support to this in my module. (If I did it right.)
// This come from the MM CORE or from other modules
notificationReceived: function (notification, payload, sender) {
if (notification === "DOM_OBJECTS_CREATED") {
// The div with id "flightsabove" now exists, so we can load Tabulate.
this.loadTabulate();
}
// This come from external control modules like: Hello-Lucy or MMM-voice
if (notification === 'HIDE_FLIGHTS') {
this.hide(1000);
} else if (notification === 'SHOW_FLIGHTS') {
this.show(1000);
}
},
I think that's all I need to do right?
If, yes, and ok, then please add my FLIGHTS
key words to your files.
Ok, I added the notifications to MMM-voice and the node_helper. You should be good to go. :-)
Super! Thank you.
How can I add support for MMM-FlightsAbove?