How to change icon of toast?


Topic: How to change icon of toast?

pawled asked 4 years ago

How to change original icon of each toast notification?


pawled answered 4 years ago

<a class="btn btn-danger" onclick="toastr.error('Hi! I am error message.');">Error message</a>

Like this one.


Grzegorz Bujański staff answered 4 years ago

Then check out this snippet: https://mdbootstrap.com/snippets/jquery/piotr-glejzer/557298

background-image has been changed in css.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.1
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No
Tags