MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Module fade out temporarily and fade it in by touch ?

    Scheduled Pinned Locked Moved Unsolved Feature Requests
    13 Posts 2 Posters 3.9k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • KamiSchamiK Offline
      KamiSchami @sdetweil
      last edited by

      @sdetweil Yes, that would of course be possible … now the question is how to implement it

      Real programmers never work 9 to 5. If they are around at 9 AM, it's because they were up all night.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @KamiSchami
        last edited by

        @kamischami the code for the MMM-TouchNavigation module needs to be changed

        and some styles for the fade out/in transition, and the timing logic for fade out (after 5 minutes, or 1 or…)
        and config for this support hideAfter: true/false (default false) might be able to do it with a number (the delay time, default 0)

        I don’t know which approach works… (or works better) create another div and toggle active
        or opacity only

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @sdetweil
          last edited by sdetweil

          @KamiSchami l said in Module fade out temporarily and fade it in by touch ?:

          MMM-TouchNavigation

          well, I gave it a try and the opacity approach works

          rename your MMM-TouchNavigation folder and get mine
          https://github.com/sdetweil/MMM-TouchNavigation

          two new config parms

          fadeButtons: true (default is false, buttons on screen all the time)
          fadeDelay: milliseconds , default 15000… how long til u want them to fade out
          if u touch a button the timer is restarted
          once faded (to 20%, just barely visible, so u know where to touch), then they are surfaced, but the specific button notification was not sent… have to push button when not faded to send profile switch

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @KamiSchami
            last edited by

            @kamischami did u try my updated module?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            KamiSchamiK 1 Reply Last reply Reply Quote 0
            • KamiSchamiK Offline
              KamiSchami @sdetweil
              last edited by

              @sdetweil Hi, oooh that’s great. I haven’t had time to implement it yet. I will call you. Thanks very much!

              Real programmers never work 9 to 5. If they are around at 9 AM, it's because they were up all night.

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 2 / 2
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy