Notify API is used to show toast style, auto disappearing UI notifications to the end user. It is implemented by the Toastr library by default.
abp.notify.success(...) function to show a success message:
abp.notify.success( 'The product "Acme Atom Re-Arranger" has been successfully deleted.', 'Deleted the Product' );
A notification message is shown at the bottom right of the page:
There are four types of pre-defined notifications;
All of the methods above gets the following parameters;
message: A message (
string) to show to the user.
title: An optional title (
options: Additional options to be passed to the underlying library, to the Toastr by default.
The notification API is implemented by the Toastr library by default. You can see its own configuration options.
Example: Show toast messages on the top right of the page
toastr.options.positionClass = 'toast-top-right';
ABP sets this option to
toast-bottom-rightby default. You can override it just as shown above.
Thank you for your valuable feedback!
Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.