Navigation

    MagicMirror Forum

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

    Font Awesome alert icons

    Development
    alert module font awesome imagefa sendnotification
    1
    1
    491
    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.
    • R
      Ramez last edited by

      greetings,
      I’m building my first little module which sends a notification to Alert module by

      this.sendNotification("SHOW_ALERT", {title: "blah", imageFA: 'bullhorn', message: "blah", timer: 5000});
      

      the problem is any icon in imageFA except bullhorn isn’t shown even with adding the proper

      getStyles: function() {
              return ['font-awesome.css'];
      },
      

      to my_module.js file so the question is, does alert module fully handle the notification payload (which contains imageFA data) if so looks like there is a problem with the default module?, or something missing has to be configured first in my module??

      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