Template > UI Elements > Notifications
Push notifications to your visitors, a lightweight and easily customizable alert message.
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.
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
});