{% extends "base-site.html" %} {% block title %} Notifications {% endblock %} {% block stylesheets %}{% endblock stylesheets %} {% block content %}

Notifications Transactional messages in your app

Messenger

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 + Retry 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
});
{% endblock content %} {% block javascripts %} {% endblock javascripts %}