1// This code has been barely documented. I sourced this from
2// the AdminLTE docs and by digging through the files
3// https://adminlte.io/docs/3.0/javascript/toasts.html
4// You need jQuery with AdminLTE for this code to work
5$(document).Toasts('create', {
6 icon: 'fas fa-exclamation-triangle',
7 class: 'bg-danger m-1',
8 autohide: true,
9 delay: 5000,
10 title: 'An error has occured',
11 body: 'Something went wrong'
12 })