Topic: Custom toastr classes

Kneidels pro asked 5 years ago


I see that there is a version of Toastr that can handle custom classes.see the PINK button on the bottom of https://scttcper.github.io/ngx-toastr/

is this something that can be worked into the code?

Thanks!


Marta Wierzbicka staff answered 5 years ago


Hi,

for now, we don't have such a solution for creating a custom class. Would you help us and describe how this particular functionality should look? We will add this idea to our ideas board and we'll think about its implementation.

Best, Marta


Kneidels pro commented 5 years ago

Hi Marta

thanks. Take a look at the link i gave in my original post - you can launch a pink toastr as well - thats a custom class that is added somehow. there are also various github forks of toastr that have this already, but i would love to see it an official part of DMB.

i would think maybe via the options? thanks


Marta Wierzbicka staff commented 5 years ago

Hi,

thank you for effort and opinion. We will try to implement this solution.

Best, Marta


Marta Wierzbicka staff answered 5 years ago


Hi,

we have a similar creator in our documentation here: https://mdbootstrap.com/docs/jquery/javascript/notifications/#creator.

Best, Marta


Kneidels pro commented 5 years ago

Thats great - but i still dont see how to create CUSTOM classes as in the link i gave above ? Thank you



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

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.7.3
  • Device: PC
  • Browser: Firefox
  • OS: Win10
  • Provided sample code: No
  • Provided link: Yes