A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
how to detect main window size via code
-
in my module, i need to know the dimensions of the MM main window.
in another mirror project I added an on.resize handler to the main window code, and had it broadcast a window size change to my plugin/module…
how can I do that in MM?
-
anybody?
I now have an update to someone elses module that needs to know the total screen size
-
document.body.clientWidth & clientHeight
-