As I know, there is no callback or notification when getDom is executed.
However, if you want to catch the changing of the output of the specific module, you can use MutationObserverin your module.
Hi All,
I have seen module hide/show is available but just wanted to do a quick check Is it possible to change the position of modules at run time?
Lets say, based on config file
Module A is on top, Module B on Bottom.
I wanted to exchange their position at runtime
Thanks
It seemed the sender is now a object not only a string with several properties. Therefore this code snippet has changed a little by sender to sender.name:
notificationReceived: function(notification, payload, sender){
if(notification === "NEW_STUFF" && sender.name === "modula"){
//handle the payload: {foo: "bar"}
}
}