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.

    Font Awesome alert icons

    Scheduled Pinned Locked Moved Development
    font awesomeimagefaalert modulesendnotification
    1 Posts 1 Posters 704 Views 1 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.
    • R Offline
      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 Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy