Notification messages are non-disturbing, self vanishing message baloons, which will display some helpful message just briefly.
These are suitable for most situations, where user need to be just acknowledged that something happened. For some important messages use flash messages, which stay on screen until clicked.
Messages can be triggered anywhere, whether it is normal
AJAX request. Similarly to flash message, first
NotifyMessage, then call any message type.
This example message should pop for a moment just after displaying this page:
(new NotifyMessage())->setSuccess('My success message');
<a href="#" onclick="app.message('My message', 'info');return false;">Show message</a>