Base solution for your next web application
Open Closed

Toaster settings #5905


User avatar
0
antonis created

I have updated to 6.2.1 angular & asp.net core and I want to customize some toaster settings.

Before I used to do it like:

 toastr.options.escapeHtml = true;
toastr.options.positionClass = 'toast-top-right';
toastr.options.toastClass = "custom-toastr";

in root module under

 appSessionService.init().then(
                    (result) => {

                    })

4 Answer(s)
  • User Avatar
    1
    ismcagdas created
    Support Team

    Hi @antonis

    We have replaced toaster with https://sweetalert2.github.io/. You can use it's options now.

  • User Avatar
    0
    antonis created

    OK But where do I have to configure its options?

  • User Avatar
    0
    antonis created

    And how do I do it since it is part of the abp?

  • User Avatar
    0
    antonis created

    Never mind. Found the file it is called abp.notify.js

    Thanks