Answers for "change the color of toast toastr js"

0

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;
}
Posted by: Guest on September-18-2020
0

change the color of toast toastr js

toastr.info("Click To Open", "more text",{iconClass:"toast-custom"});
Posted by: Guest on September-18-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language