Enum ToastEasing
Specifies the easing animation types for Toast notification transitions.
Namespace: Syncfusion.Blazor.Notifications
Assembly: Syncfusion.Blazor.dll
Syntax
public enum ToastEasing
Remarks
This enumeration defines the timing functions used for Toast animation effects. Easing functions control the rate of change during animations, affecting how smooth or abrupt the transitions appear.
Examples
Configuring easing animation for Toast:
<SfToast ShowEasing="ToastEasing.Ease" HideEasing="ToastEasing.Linear">
<ToastAnimationSettings>
<ToastShowAnimationSettings Easing="ToastEasing.Ease" />
<ToastHideAnimationSettings Easing="ToastEasing.Linear" />
</ToastAnimationSettings>
</SfToast>
Fields
| Name | Description |
|---|---|
| Ease | Specifies an ease animation timing function that starts slow, accelerates, and then slows down. |
| Linear | Specifies a linear animation timing function that maintains constant speed throughout. |