Fundamentals
Components
Code Utilities
Demo
BcToast
Description
To use the BcToast component, add the
The action button will only be shown if both the action title and action callback are provided.
Sample
BcToastModel Attributes
Title
string
The main display text of the toast notification.
ActionTitle
string
The text displayed on the action button within the toast.
Action
Action
The action executed when the action button is clicked.
FadeAwayDurationTimeSpan
TimeSpan
Defines the duration of the fade-out animation.
FadeAwayDurationDelayTimeSpan
TimeSpan
Specifies the delay before the fade-out animation starts.
ToastService Methods
AddToast ( BcToastModel model )
Adds a new toast notification to the queue.
void