A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Change layout based on orientation?
-
-
@sdetweil Maybe. I find it easier to build on someone else’s code. After I have some basic stuff functioning, I’ll look for a module template to work from. I’m also not sure the dynamic module will work (it’s 7 years old) so it might need to be updated anyhow.
-
@gonzonia all you need is a
notificationReceived
“DOM_OBJECTS_CREATED”
if the width is greater than the height its landscape
then loop thru the config -
@sdetweil I’m going to make it more dynamic. There’s actually screen.orientation.type that works to get landscape vs portrait
-
@gonzonia sameo