Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

change the color of toast toastr js

 /* this will set the toastr icon */
 #toast-container > .toast-custom {
    content: "f00C";
}

/* this will set the toastr style */
.toast-custom {
    background-color: purple;
}
Comment

change the color of toast toastr js

toastr.info("Click To Open", "more text",{iconClass:"toast-custom"});
Comment

PREVIOUS NEXT
Code Example
Javascript :: js slice string at word 
Javascript :: sum array without loop javascript 
Javascript :: how to use nodemailer 
Javascript :: javascript combining arrays 
Javascript :: angular load on scroll 
Javascript :: javascript debugger online 
Javascript :: node localstorage 
Javascript :: clearinterval in javascript 
Javascript :: js naming conventions 
Javascript :: javascript add parameter to object 
Javascript :: javascript shift 
Javascript :: arithmetic operators in javascript 
Javascript :: jquery validate add rules dynamically 
Javascript :: how to use cookies in react class component 
Javascript :: attr.disabled not working in angular 
Javascript :: object promise javascript 
Javascript :: ternaire javascript 
Javascript :: how to go back to previous route in next.js 
Javascript :: stop python script nodejs 
Javascript :: cet time zone right now 
Javascript :: js if condition 
Javascript :: jquery get element by tag 
Javascript :: momentum 
Javascript :: angular9 spy 
Javascript :: prepend to js array 
Javascript :: find longest palindrome javascript algorithm 
Javascript :: node fetch 
Javascript :: redirect to dashboard after login in vue 
Javascript :: how to get json array response in retrofit 
Javascript :: return statement javascript 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =