Template > UI Elements > Notifications

Notifications
Layout options

There are few position options available for notifications. You can click any of them to change notifications position:

Notification Types

Different types of notifications for lost of use cases. Custom classes are also supported.

INFO MESSAGE

ERROR MESSAGE

SUCCESS MESSAGE

Dead Simple Usage

Just few lines of code to instantiate a notifications object. Does not require passing any options:

Messenger().post("Thanks for checking out Messenger!");

More complex example:

Messenger().post({
    message: 'There was an explosion while processing your request.',
    type: 'error',
    showCloseButton: true
});