This forum was moved to another machine and updated to a recent version. If you are unable to login please delete your browser cookies and cache and restart your browser.A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
can i inject javascript as part of my modules getDom content?
-
@sdetweil
Use MutationObserver in your module. You can google it. -
@sdetweil you can also create an image with ja and set an onload event listener
-
-
@sdetweil js javascript
-
@strawberry-3-141 thanks… didn’t think I could use onload in a module JS… we shall see
-
@sdetweil well, that was easy and works great!..
gotta figure out how to have a div with a fill color to replace the black edges when the pics are not fulls screen.
also the bottom edge of the pic is clipped by the bottom of the screen somehow… half the newsfeed line is over the clip line