MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Sending Notification to html-file!?!?

    Development
    2
    4
    51
    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.
    • thgmirror
      thgmirror last edited by

      Hi,
      Is it possible, to send notifications to a html?
      I would like to use this nice methode to call javascript-functions in a local-stored html-file.
      If possibel, an example would be helpful.

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

        @thgmirror the words don’t make any sense.

        html is not an active descriptive language. the script tag encapsulates some logic that is invoked by and can call the browser runtime.

        notifications are a mm construct, and are not content centic.

        Sam

        Create a working config
        How to add modules

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

          @sdetweil yes, and that is my question…if there is a way to call functions in an html.

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

            @thgmirror it’s not ‘in an html’
            it has to be loaded into a browser.

            and then u have to export it correctly, and THEN you can call it ft another script.

            Sam

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy