Answers for "adminlte 3 toasts jquery"

1

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'
		})
Posted by: Guest on August-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language