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