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



  • 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.



  • 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
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.