Sweet alert
Dashboard sweet alert
Showing an alert
Alert types

There are 4 predefined types: "warning", "error", "success" and "info" .

Using promises

Sweetalert uses promises to keep track of how the user interacts with the alert..