@sdetweil so the map loads and the tileloaded event triggers on the map object. At that time, I set the class of the div to something visible. I have not figured out a way to have multiple divs in my module container and flip visibility from that event, which is what I need to do. All this is done after updateDom() and getDom() have already fired
Read the statement by Michael Teeuw here.
Posts
-
RE: Proper way to have module loading screen
-
RE: Proper way to have module loading screen
@sdetweil eh playing more with this, I might have a limitation. I am using the Google Maps Api to load a map of a place I provide via voice. All is working fine, but there is delay in loading all the tiles. I have setup opacity and all that, but I would like to add a loading message that notifies of a command being input. The issue with updating the dom is that the event listener that I use to show the map once the tiles loaded needs the dom, so I cannot have a basically empty dom. What I really need is to be able to have 2 divs in my module, one that is the map, the other that is the loading div and hide/show accordingly. I tried that, the dom gets updated, but the UI does not change. Any thoughts?
-
RE: Proper way to have module loading screen
@sdetweil how do you check it is ready? Is there a property to check?
-
Proper way to have module loading screen
I have a module that takes time to load and update the dom, so there is a delay. I want to add a loading notification somehow to my mirror so I know the command was submitted. I tried to add a loading div to the dom wrapper, but got nowhere. Does anyone have a good example of this?
-
My Hello-Lucy like extensions to MMM-Voice-Commands and MMM-GoogleMapsTraffic
GitHub Repos
https://github.com/isaac2004/MMM-Voice-Commands
https://github.com/isaac2004/MMM-GoogleMapsTrafficThese aren’t modules as much as extensions to 2 of my favorite modules, MMM-GoogleMapsTraffic and MMM-Voice-Commands to use the concept introduced by Hello-Lucy. The installations are pretty self-explanatory, but let me know if anyone has any questions.
-
RE: MMM-CalendarExt
Is there a way to repaint the calendar module? I am working on hiding/showing the module with voice control, and for the life of me, I can’t get the UI to repaint after hiding. module.show() is not available in the module so it is not as simple as that
-
RE: regions...
@retroflex Also some modules don’t listen to fullscreen, if the DOM gets updated, it paints over any fullscreen region
-
RE: regions...
@retroflex fullscreen_above does not cover the whole screen sadly
-
RE: Show City with MMM-GoogleMapsTraffic
@onetwankyfive can you provide some tips on how you did this?
-
RE: regions...
Is there a way to “hover” modules over eachother. For instance if I use Lucy to “SHOW” a module, I want it to float above all other modules. Currently, it pushes modules down.