“Ubah Warna Toast Toastr JS” Kode Jawaban

Ubah Warna 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;
}
Nervous Narwhal

Ubah Warna Toast Toastr JS

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

Jawaban yang mirip dengan “Ubah Warna Toast Toastr JS”

Pertanyaan yang mirip dengan “Ubah Warna Toast Toastr JS”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya