MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. bureus
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    B
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    bureus

    @bureus

    0
    Reputation
    160
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    bureus Unfollow Follow

    Latest posts made by bureus

    • RE: Dynamically update html

      I resolved it by implementing a updateBoard function that checks if tables has been rendered and if just updates the innerHTML of that div. Was great to read ANOTHER WAY TO CONTROL OUTPUT in the beginners KB, https://forum.magicmirror.builders/topic/8534/head-first-developing-mm-module-for-extreme-beginners

      posted in Development
      B
      bureus
    • Dynamically update html

      Hi,

      I have created a departure board for public transportation, including real time updates to departure time within the module. The board is updated every 20s, by passing notifications from node_helper that updates the DOM thru getDom function. Challange is that i have a marquee element within my HTML that i dont would like to be reset every 20s, instead i would like that HTML element to be kind of static within the module.

      Is there any possibility of not refreshing the complete HTML, like using “updateDom” instead of “getDom” so that my marquee element is not reset?

      BR

      posted in Development
      B
      bureus