@page "/"
@using Syncfusion.Blazor.Notifications
@using Syncfusion.Blazor.Buttons
@using Syncfusion.Blazor.Popups
Show Dialog
Content Toast
Content
@code{
SfToast ToastObj;
public bool Visibility { get; set; } = false;
public string ToastContent { get; set; } = "";
private async Task ShowToast()
{
await this.ToastObj.Show();
}
public void ShowDialog()
{
Visibility = true;
}
private async void ContentToast()
{
ToastContent = "Conference Room 01 / Building 135 10:00 AM-10:30 AM";
await this.ShowToast();
}
}