Read the statement by Michael Teeuw here.
Module Update Question
-
Ok, that helps a little. I’ll try some things with setInterval and come back again when I’m stuck. I see a lot of examples where updateDom is included in the setInterval. That just updates the config if necessary, correct?
-
@sdetweil I did it.
Thanks for the help!
-
@oldrocker the call to updateDom() tells MM runtime that your module has new/updated content, and the MM runtime will call your getDom() method to get that ‘new’ content to replace what is already displayed.
-
@sdetweil If I understand you correctly, the call to the Dom is for the visual content update and not necessary after updating data the running module relies on unless that data is to be immediately displayed.
-
@oldrocker correct,… only for visual content change… MM doesn’t know anything else the modules does…