MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

Is there any callback for getDom execution ?



  • Hi Guys,

    When getDom function executes, is there any call back / notification triggers which can be listened. I am aware modules method can be subclassed to add features wanted to know if there something is framework before i build my own.

    Thanks



  • @edubey I am working on my own module, and saw this post. I too am interested in knowing the answer to this. If not, I would also be curious to your solution.


  • Module Developer

    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.