Blazor Toast Example - Custom Templates
This sample demonstrates the template rendering of the Toast. Static HTML Toast will display an alarm notification that can be snoozed or dismissed. In the ShowAsync method, the template is assigned to the Content to display mail remainders.
This sample illustrates the way to display the template content on the Toast. The template allows you to format and structure HTML content to be displayed on the Toast based on their application requirements.
- Alarm Toast is integrated with a button and drop-down list that allows setting
Timeoutfor Toast and close it. - While adding mail reminder notifications, the Dynamic Toast will open based on the data source provided, and it could be hidden using the close button.
See also