Read the statement by Michael Teeuw here.
Full-screen alert (no other modules should be shown)
-
Hi,
I want to have a fullscreen alert for a few seconds, after this defined time the module should appear normally on it’s defined position in config.js. How can I solve that? Can I just overlay it with CSS or should I hide all other modules before and then displaying it again?
For example, in config.js my module is defined withposition: 'middle_center',once a notification will show my module, it should appear in fullscreen mode for (i.e.) 20 seconds, no other modules should be displayed during this time. The fullscreen mode has the background color red and a very large font size. After this 20 seconds, the fullscreen is not necessary anymore and the module should be displayed in its “middle_center” position.
What could be the best way to solve this?Thanks!
-
Hi, there is already such a module. It’s called alert and part of the default modules package.
https://github.com/MichMich/MagicMirror/tree/develop/modules/default/alert
There are a lot of options you can configure.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login