# Introduction
The MagicMirror core has the ability to send notifications to modules. Or even better: the modules have the possibility to send notifications to other modules.
Additional technical information on the notifications can be found in the modules' documentation:
# System notifications
The system sends three notifications when starting up:
Notification | Payload | Description |
---|---|---|
ALL_MODULES_STARTED | none | All modules are started. You can now send notifications to other modules. |
DOM_OBJECTS_CREATED | none | All dom objects are created. The system is now ready to perform visual changes. |
MODULE_DOM_CREATED | none | This module's dom has been fully loaded. You can now access your module's dom objects. |
MODULE_DOM_UPDATED | none | This module's dom has been updated and re-rendered. You can now access your module's (updated) dom objects. This notification is sent in response to a call to updateDom (opens new window). |
# Default module notifications
These notifications are sent by the default modules:
Notification | Payload | Description |
---|---|---|
SHOW_ALERT | message details (opens new window) | Sent to alert module (opens new window) to show an alert or notification. |
HIDE_ALERT | none | Sent to alert module (opens new window) to hide the current alert or notification. |
CALENDAR_EVENTS | calendar events (opens new window) | Sent by calendar module (opens new window) to inform modules of the calendar events. |
ARTICLE_NEXT | none | Shows the next news title in newsfeed module (opens new window). |
ARTICLE_PREVIOUS | none | Shows the previous news title in newsfeed module (opens new window). |
ARTICLE_MORE_DETAILS | none | Shows more details in newsfeed module (opens new window). |
ARTICLE_LESS_DETAILS | none | Hides the summary or full news article and only displays the news title of the currently viewed news item in newsfeed module (opens new window). |
ARTICLE_TOGGLE_FULL | none | Toogles article in fullscreen in newsfeed module (opens new window). |
# 3rd Party Module notifications
Take a look in the wiki (opens new window) to see if 3rd party modules send notifications you might want to use.