Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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'
		})
Comment

PREVIOUS NEXT
Code Example
Javascript :: file name without extension javascript 
Javascript :: how to pass an object directly to formdata in javascript 
Javascript :: split words in javascript 
Javascript :: js console log input value 
Javascript :: event.preventDefault() in react hook 
Javascript :: jquery first child 
Javascript :: js select on change value 
Javascript :: save list of dictionaries to json python 
Javascript :: refresh page scrolltop 0 
Javascript :: find quotient in javascript 
Javascript :: electron inspect 
Javascript :: An accessor cannot be declared in an ambient context. 
Javascript :: gatsby-plugin-create-client-paths 
Javascript :: nodered - run nodered on docker 
Javascript :: email validator javascript 
Javascript :: check if json obj exists 
Javascript :: counting duplicates codewars javascript 
Javascript :: loopback get relationship in before save 
Javascript :: javascript round decimal 
Javascript :: get part of string javascript 
Javascript :: refresh page after delete angular 
Javascript :: Selector All Element querySelector Method 
Javascript :: var data ="<tr<td"+ data.data[i].name"</td"+"<td"+ data.data[i].email"</td"+"<td"+ data.data[i].create_at"</td</tr"; 
Javascript :: how to keep scrolling with javascript 
Javascript :: page reload button using angular 
Javascript :: refresh a page in jquery 
Javascript :: dropzone add download button 
Javascript :: redirect the page in javascript 
Javascript :: get the id of a div in jquery 
Javascript :: install json-server 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =