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

Is there a way to programmatically change the position of a module

  • Module Developer

    I’m writing a module to help with scene changes and the main issue I’m having is that I can’t find a way to change the positions of modules after the mirror is loaded. Looking through the page, I was thinking that it would be possible to get a reference to the html element and shift its position manually, but I wanted to see if there was a proper way to do it before trying out that method.

  • Module Developer

    I did it manually using references the modules and containers. It worked a lot better than I assumed it would as well since references to the modules seem to stay intact so hiding them still works. I will post the full module when I’m done if in case anybody wants to see how I hacked it together.

    P.S. If there is a more official way, I would still like to know what it is.

Log in to reply