Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iammukeshm authored Dec 11, 2020
1 parent cddd656 commit db68e4d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ToastNotification is a Minimal & Elegant Toast Notification Package for ASP.NET
- 🐣 Simple and Customizable. Create your own custom toast with your favorite color and icons with ease!
- 👴🏽 Works with TempData internally.
- 📱 Currently Supports 2 Popuplar JS Library.
- 📱 Supports AJAX / XHR out of the box.

More Features Coming Soon.
> Not Compatible with Blazor SDK. Intended only for ASP.NET Core Web Applications.
Expand Down Expand Up @@ -46,6 +47,13 @@ services.AddNotyf(config=> { config.DurationInSeconds = 10;config.IsDismissable
> Available Positions are TopRight,BottomRight,BottomLeft,TopLeft,TopCenter,BottomCenter.
Set the isDismissible bool to false, to remove the close icon from your toasts! Pretty handy.

### From v1.1.0 - AJAX / XHR is fully supported

To enable toast notification while working with AJAX Requests, you will have to add the middleware into the Service Container. Open up Startup.cs and add the following line of code under the Configure method.

```csharp
app.UseNotyf();
```

> More settings will be added in the upcoming releases
Expand Down

0 comments on commit db68e4d

Please sign in to comment.