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;
}toastr.info("Click To Open", "more text",{iconClass:"toast-custom"});
Also in JavaScript:
- p5js check for keyboard keys
- install javascript kali linux
- get form data as object jquery
- install nuxt js
- javascript append list
- vue js error mixed spaces and tabs no-mixed-spaces-and-tabs
- express js list all routes
- using dot notation in jsx
- capacitor.ionicframework.com to apk
- update angular cli 10
- objectid is not defined node js mongodb
- how to name a javascript variable
- javascript merge objects
- generate random number in java
- what is Vanilla JavaScript
- multi language website angular 6
- query string from object js
- how to see my timezone using js
- js comment
- how to sort array least to greatest javascript stACK
- install vue
- access django template variable in javascript
- dom ready js
- install gatsbyjs using npx